This file is indexed.

/usr/include/dx/timing.h is in libdx4-dev 1:4.4.4-9.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/***********************************************************************/
/* Open Visualization Data Explorer                                    */
/* (C) Copyright IBM Corp. 1989,1999                                   */
/* ALL RIGHTS RESERVED                                                 */
/* This code licensed under the                                        */
/*    "IBM PUBLIC LICENSE - Open Visualization Data Explorer"          */
/***********************************************************************/

/* TeX starts here. Do not remove this comment. */

#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif

#ifndef _DXI_TIMING_H_
#define _DXI_TIMING_H_

/*
\section{Timing}
This section describes routines that can be used to measure the
performance of the system.  Calls to {\tt DXMarkTime()} and {\tt
DXMarkTimeLocal()} are made at key points in the system.  Time marks are
batched up until a call to {\tt DXPrintTimes()}.  The printing of timing
messages can be enabled by calling {\tt DXTraceTime()}.

For modules linked into the Data Explorer, the Trace module should
be used to enable recording of times and to print the recorded times.
*/

void DXMarkTime(char *s);
void DXMarkTimeLocal(char *s);
/**
\index{DXMarkTime}\index{DXMarkTimeLocal}
{\tt DXMarkTime()}) records a ``global'' time mark relevant to the
system as a whole.  {\tt DXMarkTimeLocal()} records a ``local'' event
relevant just to one processor, as for example during a parallel
section.
**/

void DXPrintTimes(void);
/**
\index{DXPrintTimes}
Prints information about the ``global'' time events recorded by {\tt
DXMarkTime()} and the ``local'' time events recorded by {\tt
DXMarkTimeLocal()} since the last call to {\tt DXPrintTimes()}.  For each
global event, the following are printed: the identifying tag that was
specified by the {\tt DXMarkTime()} call; the time of the last previous
global event; the delta time between that previous event and this
event; and the time of this event.  For each local event, the
following are printed: the processor on which the event occurred; the
time of the last previous local event on this processor or the last
previous global event, whichever occurred later; the delta time
between that previous event and this event; and the time of this
event.  All times are printed in seconds.  (In addition, on some
architectures the delta user and system times are printed, as recorded
by the operating system.  These times are not printed on the IBM Power
Visualization System, and appear as zeroes.)

In addition to the time markings recorded by the modules, the
executive records the time at the beginning and end of each module,
and at the beginning and end of each parallel section.  Some system
modules also record time events; therefore, when using these routines
to time a module, it is advisable to enable recording of time events
via the Trace module just before execution of the module to be timed,
and to disable them immediately afterwards.
**/

void DXTraceTime(int t);
/**
\index{DXTraceTime}
Enables ({\tt t=1}) or disables ({\tt t=0}) the accumulation of time
marks by {\tt DXMarkTime()} and {\tt DXMarkTimeLocal()} and the printing of
timing messages by {\tt DXPrintTimes()}.
**/

double DXGetTime(void);
/**
\index{DXGetTime}
Returns the elapsed time in seconds since some unspecified reference
point.  The reference point may differ between invocations of the
system, but within one invocation the reference point remains fixed.
**/

void DXWaitTime(double seconds);
/**
\index{DXWaitTime}
Returns after the requested number of seconds has elapsed.
**/

#endif /* _DXI_TIMING_H_ */

#if defined(__cplusplus) || defined(c_plusplus)
}
#endif