/usr/include/open-trace-format/OTF_inttypes.h is in libopen-trace-format-dev 1.12.5+dfsg-1.
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 | /*
This is part of the OTF library. Copyright by ZIH, TU Dresden 2005-2014.
Authors: Andreas Knuepfer, Holger Brunst, Ronny Brendel, Thomas Kriebitzsch
*/
/**
* @file OTF_inttypes.h
*
* @brief Deals with all data type related issues.
*
* \ingroup misc
*/
#ifndef OTF_INTTYPES_H
#define OTF_INTTYPES_H
#if defined(_WIN32) /* windows */
# include "OTF_inttypes_win.h"
#else /* unix */
# include "OTF_inttypes_unix.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/** Converts unsigned integers of 8, 16, 32 or 64 bit length into OTF counter values. */
uint64_t OTF_Unsigned2Counter( uint64_t value );
/** Converts OTF counter values to unsigned integers of 8, 16, 32 or 64 bit length. */
uint64_t OTF_Counter2Unsigned( uint64_t value );
/** Converts signed integers of 8, 16, 32 or 64 bit length to OTF counter values. */
uint64_t OTF_Signed2Counter( int64_t value );
/** Converts OTF counter values to signed integers of 8, 16, 32 or 64 bit length. */
int64_t OTF_Counter2Signed( uint64_t value );
/** Converts single precision floating point variables to OTF counter values. */
uint64_t OTF_Float2Counter( float value );
/** Converts OTF counter values to single precision floating point values. */
float OTF_Counter2Float( uint64_t value );
/** Converts double precision floating point values to OTF counter values. */
uint64_t OTF_Double2Counter( double value );
/** Converts OTF counter values to double precision floating point values. */
double OTF_Counter2Double( uint64_t value );
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* OTF_INTTYPES_H */
|