From: Tyrel D. <ty...@us...> - 2012-05-29 21:50:45
|
Update of /cvsroot/sblim/gather In directory vz-cvs-3.sog:/tmp/cvs-serv24051 Modified Files: NEWS repos.c Log Message: Fixed 3530668: Duration values always reported as zero Index: NEWS =================================================================== RCS file: /cvsroot/sblim/gather/NEWS,v retrieving revision 1.123 retrieving revision 1.124 diff -u -d -r1.123 -r1.124 --- NEWS 17 May 2012 01:02:41 -0000 1.123 +++ NEWS 29 May 2012 21:50:43 -0000 1.124 @@ -2,6 +2,7 @@ ======================== Bugs fixed: +- 3530668 Duration values always reported as zero Features added: - 3031802 add support for CIM property filters Index: repos.c =================================================================== RCS file: /cvsroot/sblim/gather/repos.c,v retrieving revision 1.29 retrieving revision 1.30 diff -u -d -r1.29 -r1.30 --- repos.c 15 Dec 2010 00:41:09 -0000 1.29 +++ repos.c 29 May 2012 21:50:43 -0000 1.30 @@ -373,8 +373,7 @@ if (useIntervals) { vs->vsValues[actnum].viCaptureTime=mv[j][0].mvTimeStamp; vs->vsValues[actnum].viDuration= - mv[j][0].mvTimeStamp - - vs->vsValues[actnum].viCaptureTime; + vs->vsValues[actnum].viCaptureTime - mv[j][numv[j]-1].mvTimeStamp; vs->vsValues[actnum].viValueLen=100; /* TODO : calc meaningful length */ vs->vsValues[actnum].viSystemId=ch_alloc(ch,syslen); memcpy(vs->vsValues[actnum].viSystemId,mv[j][numv[j]-1].mvSystemId,syslen); |