Home
last modified time | relevance | path

Searched refs:cumul (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/rpcsvc/
H A Dspray_subr.c42 static spraycumul cumul; variable
50 cumul.counter++;
59 gettimeofday((struct timeval *)&cumul.clock, 0);
60 if (cumul.clock.usec < start_time.usec) {
61 cumul.clock.usec += 1000000;
62 cumul.clock.sec -= 1;
64 cumul.clock.sec -= start_time.sec;
65 cumul.clock.usec -= start_time.usec;
66 return (&cumul);
76 cumul.counter = 0;
H A Dspray.c69 spraycumul cumul; in main() local
138 cumul = *co; in main()
139 if (cumul.counter < cnt) in main()
141 cnt - cumul.counter, in main()
142 100.0 * (cnt - cumul.counter)/cnt, host); in main()
145 psec = (1000000.0 * cumul.counter) in main()
146 / (1000000.0 * cumul.clock.sec + cumul.clock.usec); in main()
147 bsec = (lnth * 1000000.0 * cumul.counter)/ in main()
148 (1000000.0 * cumul.clock.sec + cumul.clock.usec); in main()