"Fossies" - the Fresh Open Source Software Archive

Member "rpm-4.15.0/doc/librpm/html/rpmsw_8h.html" (30 Aug 2019, 11345 Bytes) of package /linux/misc/rpm-4.15.0.tar.bz2:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the rpm-4.15.0.tar.bz2 project site itself.

rpm  4.15.0-beta
Data Structures | Typedefs | Functions
rpmsw.h File Reference

Statistics API. More...

#include <unistd.h>
#include <sys/time.h>
Include dependency graph for rpmsw.h:

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 struct rpmsw_srpmsw
 
typedef struct rpmop_srpmop
 

Functions

rpmsw rpmswNow (rpmsw sw)
 Return benchmark time stamp. More...
 
rpmtime_t rpmswDiff (rpmsw end, rpmsw begin)
 Return benchmark time stamp difference. More...
 
rpmtime_t rpmswInit (void)
 Return benchmark time stamp overhead. More...
 
int rpmswEnter (rpmop op, ssize_t rc)
 Enter timed operation. More...
 
rpmtime_t rpmswExit (rpmop op, ssize_t rc)
 Exit timed operation. More...
 
rpmtime_t rpmswAdd (rpmop to, rpmop from)
 Sum statistic counters. More...
 
rpmtime_t rpmswSub (rpmop to, rpmop from)
 Subtract statistic counters. More...
 

Detailed Description

Statistics API.

Definition in file rpmsw.h.