dpkg 1.21.11
Data Structures | Macros
perf.h File Reference

(a4dfcc1ef)

#include <config.h>
#include <compat.h>
#include <time.h>
#include <stdio.h>
#include <dpkg/test.h>
Include dependency graph for perf.h:

Go to the source code of this file.

Data Structures

struct  perf_slot
 

Macros

#define TEST_OMIT_VARIABLES
 
#define perf_ts_slot_start(ps)   clock_gettime(CLOCK_MONOTONIC, &((ps)->t_ini))
 
#define perf_ts_slot_stop(ps)   clock_gettime(CLOCK_MONOTONIC, &((ps)->t_end))
 

Macro Definition Documentation

◆ perf_ts_slot_start

#define perf_ts_slot_start (   ps)    clock_gettime(CLOCK_MONOTONIC, &((ps)->t_ini))

◆ perf_ts_slot_stop

#define perf_ts_slot_stop (   ps)    clock_gettime(CLOCK_MONOTONIC, &((ps)->t_end))

◆ TEST_OMIT_VARIABLES

#define TEST_OMIT_VARIABLES