|
|
2ff057 |
|
|
|
2ff057 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
2ff057 |
<head>
|
|
|
2ff057 |
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
|
2ff057 |
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
|
2ff057 |
<meta name="generator" content="Doxygen 1.8.14"/>
|
|
|
2ff057 |
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
|
2ff057 |
<title>rpm: rpmsw.h File Reference</title>
|
|
|
2ff057 |
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
|
2ff057 |
<script type="text/javascript" src="jquery.js"></script>
|
|
|
2ff057 |
<script type="text/javascript" src="dynsections.js"></script>
|
|
|
2ff057 |
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
|
2ff057 |
</head>
|
|
|
2ff057 |
<body>
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
rpm
|
|
|
2ff057 |
4.14.2
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
<script type="text/javascript" src="menudata.js"></script>
|
|
|
2ff057 |
<script type="text/javascript" src="menu.js"></script>
|
|
|
2ff057 |
<script type="text/javascript">
|
|
|
2ff057 |
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
|
2ff057 |
$(function() {
|
|
|
2ff057 |
initMenu('',false,false,'search.php','Search');
|
|
|
2ff057 |
});
|
|
|
2ff057 |
/* @license-end */</script>
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
rpmio
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
Data Structures |
|
|
|
2ff057 |
Typedefs |
|
|
|
2ff057 |
Functions
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
Statistics API.
|
|
|
2ff057 |
More...
|
|
|
2ff057 |
#include <unistd.h>
|
|
|
2ff057 |
#include <sys/time.h>
|
|
|
2ff057 |
|
|
|
2ff057 |
Include dependency graph for rpmsw.h:
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
Go to the source code of this file.
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
Data Structures
|
|
|
2ff057 |
struct rpmsw_s
|
|
|
2ff057 |
|
|
|
2ff057 |
struct rpmop_s
|
|
|
2ff057 |
Cumulative statistics for an operation. More...
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
Typedefs
|
|
|
2ff057 |
typedef unsigned long int rpmtime_t
|
|
|
2ff057 |
|
|
|
2ff057 |
typedef struct rpmsw_s * rpmsw
|
|
|
2ff057 |
|
|
|
2ff057 |
typedef struct rpmop_s * rpmop
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
Functions
|
|
|
2ff057 |
rpmsw rpmswNow (rpmsw sw)
|
|
|
2ff057 |
Return benchmark time stamp. More...
|
|
|
2ff057 |
|
|
|
2ff057 |
rpmtime_t rpmswDiff (rpmsw end, rpmsw begin)
|
|
|
2ff057 |
Return benchmark time stamp difference. More...
|
|
|
2ff057 |
|
|
|
2ff057 |
rpmtime_t rpmswInit (void)
|
|
|
2ff057 |
Return benchmark time stamp overhead. More...
|
|
|
2ff057 |
|
|
|
2ff057 |
int rpmswEnter (rpmop op, ssize_t rc)
|
|
|
2ff057 |
Enter timed operation. More...
|
|
|
2ff057 |
|
|
|
2ff057 |
rpmtime_t rpmswExit (rpmop op, ssize_t rc)
|
|
|
2ff057 |
Exit timed operation. More...
|
|
|
2ff057 |
|
|
|
2ff057 |
rpmtime_t rpmswAdd (rpmop to, rpmop from)
|
|
|
2ff057 |
Sum statistic counters. More...
|
|
|
2ff057 |
|
|
|
2ff057 |
rpmtime_t rpmswSub (rpmop to, rpmop from)
|
|
|
2ff057 |
Subtract statistic counters. More...
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
Detailed Description
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
Definition in file rpmsw.h.
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
<address class="footer"><small>
|
|
|
2ff057 |
Generated by
|
|
|
2ff057 |
|
|
|
2ff057 |
1.8.14
|
|
|
2ff057 |
</small></address>
|
|
|
2ff057 |
</body>
|
|
|
2ff057 |
</html>
|