Go to the source code of this file.
Data Structures | |
struct | rpmsw_s |
struct | rpmop_s |
Cumulative statistics for an operation. More... | |
Typedefs | |
typedef unsigned long int | rpmtime_t |
typedef rpmsw_s * | rpmsw |
typedef rpmop_s * | rpmop |
Functions | |
rpmsw | rpmswNow (rpmsw sw) |
Return benchmark time stamp. | |
rpmtime_t | rpmswDiff (rpmsw end, rpmsw begin) |
Return benchmark time stamp difference. | |
rpmtime_t | rpmswInit (void) |
Return benchmark time stamp overhead. | |
int | rpmswEnter (rpmop op, ssize_t rc) |
Enter timed operation. | |
rpmtime_t | rpmswExit (rpmop op, ssize_t rc) |
Exit timed operation. | |
rpmtime_t | rpmswAdd (rpmop to, rpmop from) |
Sum statistic counters. | |
rpmtime_t | rpmswSub (rpmop to, rpmop from) |
Subtract statistic counters. |
Definition in file rpmsw.h.
|
Return benchmark time stamp difference.
Definition at line 119 of file rpmsw.c. References rpmsw_cycles, rpmsw_overhead, rpmsw_type, tvsub(), and rpmsw_s::u. Referenced by main(), rpmswExit(), and rpmswInit(). |
|
Return benchmark time stamp overhead.
Definition at line 176 of file rpmsw.c. References rpmsw_cycles, rpmsw_initialized, rpmsw_overhead, rpmsw_type, rpmswDiff(), and rpmswNow(). Referenced by main(), and rpmswNow(). |
|
Return benchmark time stamp.
Definition at line 80 of file rpmsw.c. References rpmsw_initialized, rpmsw_type, rpmswInit(), and rpmsw_s::u. Referenced by main(), rpmswEnter(), rpmswExit(), and rpmswInit(). |