Hmm, browsing through the code I found the following

void
update_ifdata( void )
{
   ...
   static double last_time = 0.0;  <-- (1)
   double now, delta_t;
   struct timeval timeValue;
   struct timezone timeZone;


   gettimeofday( &timeValue, &timeZone );

   now = (double) (timeValue.tv_sec - boottime) + (timeValue.tv_usec / 
1000000.0);
   delta_t = now - last_time;    <-- will delta_t not always be equal to now 
since last_time is reset everytime (1) ??

   ...

      last_time = now;
}




Met vriendelijke groet
Best regards
Bien à vous

Miguel SANDERS
ArcelorMittal Gent

UNIX Systems & Storage
IT Supply Western Europe | John Kennedylaan 51
B-9042 Gent

T +32 9 347 3538 | F +32 9 347 4901 | M +32478 805 023
E [EMAIL PROTECTED]
www.arcelormittal.com/gent



________________________________

Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens [EMAIL PROTECTED]
Verzonden: dinsdag 5 augustus 2008 19:47
Aan: [email protected]
Onderwerp: [Ganglia-general] POWER5 Network Throughput



Hi all

I am using Michael's POWER5/6 aware Ganglia but I do have a question regarding 
the network throughput.
For a certain LPARS, topas states peaks up to 210K KBPS,meaning at about 200 
Mbytes per sec.
Nevertheless, the bytes_out chart of the LPAR shows only a maximum of 100 
Mbytes per sec for that moment.
Is this a bug in libperfstat? (I am using 5300-05-05 on that LPAR).

Tia once again

Met vriendelijke groet
Best regards
Bien à vous

Miguel SANDERS
ArcelorMittal Gent

UNIX Systems & Storage
IT Supply Western Europe | John Kennedylaan 51
B-9042 Gent

T +32 9 347 3538 | F +32 9 347 4901 | M +32478 805 023
E [EMAIL PROTECTED]
www.arcelormittal.com/gent <file://www.arcelormittal.com/gent>


********************************************************************************
This message and any attachment are confidential, intended solely for the use 
of the individual or entity to whom it is addressed and may be protected by 
professional secrecy or intellectual property rights.
If you have received it by mistake, or are not the named recipient(s), please 
immediately notify the sender and delete the message. You are hereby notified 
that any unauthorized use, copying or dissemination of any or all information 
contained in this message is prohibited.
Arcelormittal shall not be liable for the message if altered, falsified, or in 
case of error in the recipient.
This message does not constitute any right or commitment for ArcelorMittal 
except when expressly agreed otherwise in writing in a separate agreement.
********************************************************************************


****
This message and any attachment are confidential, intended solely for the use 
of the individual or entity to whom it is addressed and may be protected by 
professional secrecy or intellectual property rights.
If you have received it by mistake, or are not the named recipient(s), please 
immediately notify the sender and delete the message. You are hereby notified 
that any unauthorized use, copying or dissemination of any or all information 
contained in this message is prohibited.
Arcelormittal shall not be liable for the message if altered, falsified, or in 
case of error in the recipient.
This message does not constitute any right or commitment for ArcelorMittal 
except when expressly agreed otherwise in writing in a separate agreement.
****

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to