This file is indexed.

/usr/include/cctools/timestamp.h is in coop-computing-tools-dev 4.0-1ubuntu1.

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
/*
Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
Copyright (C) 2005- The University of Notre Dame
This software is distributed under the GNU General Public License.
See the file COPYING for details.
*/

#ifndef TIMESTAMP_H
#define TIMESTAMP_H

/** @file timestamp.h
Portable routines for high resolution timing.
*/

#include "int_sizes.h"
#include <time.h>

/** A type to hold the current time, in microseconds since January 1st, 1970. */

typedef UINT64_T timestamp_t;

#define TIMESTAMP_FORMAT UINT64_FORMAT

/** Get the current time.
@return The current time, in microseconds since January 1st, 1970.
*/

timestamp_t timestamp_get(void);

/** Formats timestamp_t ts according to the format specification fmt and stores the result as a string in array buf.
@param buf The array that holds the formatted string.
@param size The size of array buf.
@param fmt The specification of the desired format.
@param ts The time value to format.
@return The number of characters placed in the array buf.
*/

int timestamp_fmt(char *buf, size_t size, const char *fmt, timestamp_t ts);

/** Sleep for a specified time.
@param interval The number of microseconds to sleep for.
*/

void timestamp_sleep(timestamp_t interval);

/** Get the last modified time of a file.
@param file The path of the file to examine.
@return The modification time, in seconds since January 1st, 1970.
*/

time_t timestamp_file(const char *file);

#endif