Josh Thank you - no need to change anything. I'm trying to use Total Hours number to estimate cost if we ran VCL workload in a "pay-by-hour" public cloud.
-- Thank you, Dmitri Chebotarov VCL Sys Eng, Engineering & Architectural Support, TSD - Ent Servers & Messaging 223 Aquia Building, Ffx, MSN: 1B5 Phone: (703) 993-6175 | Fax: (703) 993-3404 On Sep 29, 2014, at 9:31 , Josh Thompson <[email protected]> wrote: > Signed PGP part > Dmitri, > > The duration of all reservations during the time period is summed as > > $totalhours += ($length / 3600); > > Then, the value for Total Hours Used is printed as > > (int)$totalhours > > which would give total hours used truncated down to the nearest hour. I could > change that to be round($totalhours) to round it to the nearest hour if people > think that would be better (I'm inclined to say round() would be better). > > Josh > > On Friday, September 26, 2014 6:40:01 PM Dmitri Chebotarov wrote: > > Hi, > > > > How does VCL track usage for Statistics page? > > I'm interested in "Total Hours Used" field. Does it round time to nearest > > hour or does it log number of minutes/seconds image was in use? I.e. if > > image was in use for 24 minutes would it log 1 hour or 24 minutes ? > > > > > > -- > > Thank you, > > > > Dmitri Chebotarov > > VCL Sys Eng, Engineering & Architectural Support, TSD - Ent Servers & > > Messaging 223 Aquia Building, Ffx, MSN: 1B5 > > Phone: (703) 993-6175 | Fax: (703) 993-3404 > -- > ------------------------------- > Josh Thompson > VCL Developer > North Carolina State University > > my GPG/PGP key can be found at pgp.mit.edu > > All electronic mail messages in connection with State business which > are sent to or received by this account are subject to the NC Public > Records Law and may be disclosed to third parties. > >
signature.asc
Description: Message signed with OpenPGP using GPGMail
