Changeset 7558 for trunk/MagicSoft/Mars/datacenter/macros
- Timestamp:
- 03/01/06 18:12:55 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/plotstat.C
r7542 r7558 337 337 MTime from; 338 338 339 while ( past<now)339 while (1) 340 340 { 341 341 if (past.GetMagicPeriod()!=period) … … 343 343 period = past.GetMagicPeriod(); 344 344 345 if (period> =first && period<=last)345 if (period>first && period-1<=last) 346 346 { 347 347 TString a = from.GetSqlDateTime(); … … 349 349 350 350 for (int i=0; i<8; i++) 351 h[i].Fill(period , GetTime(serv, query[i], a, b));351 h[i].Fill(period-1, GetTime(serv, query[i], a, b)); 352 352 } 353 354 if (past>now) 355 break; 353 356 354 357 from = past;
Note:
See TracChangeset
for help on using the changeset viewer.