I'm trying to figure out how to calculate the value for counter Physical Disk: Avg. 
Disk sec/Transfer. Its type is PERF_AVERAGE_TIMER, and the formula is  ((X1-X0) / TB) 
/ (B1-B0). My interpretation of the documentation is that X1 and X0 are the counter 
data (number of ticks), TB is PerfFreq (frequency of ticks) which is 10,000,000 in 
this case. Then, B1-B0 should be number of operations (i.e. transfers) completed 
during the last sample interval. Now, where do I get B1 and B0 in terms of 
Win32::PerfLib data structure?

Linchi 


_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to