/usr/include/sidl_Enforcer.h is in libsidl-dev 1.4.0.dfsg-8.2.
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 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 | /*
* File: sidl_Enforcer.h
*
* Produced at the Lawrence Livermore National Laboratory by
* T. Dahlgren as part of the work towards a Ph.D. thesis.
*
* Copyright (c) 2005-2007, Lawrence Livermore National Security, LLC.
* All rights reserved.
*/
#ifndef included_sidl_Enforcer_h
#define included_sidl_Enforcer_h
#ifndef included_sidl_header_h
#include "sidl_header.h"
#endif
#ifndef included_sidl_ClauseType_h
#include "sidl_ClauseType.h"
#endif
#ifndef included_sidl_ContractClass_h
#include "sidl_ContractClass.h"
#endif
#ifndef included_sidl_EnforceFreq_h
#include "sidl_EnforceFreq.h"
#endif
#ifndef included_sidl_EnfTraceLevel_h
#include "sidl_EnfTraceLevel.h"
#endif
/*
**********************************************************************
* PUBLIC METHODS *
**********************************************************************
*/
#ifdef __cplusplus
extern "C" {
#endif
extern
void
sidl_Enforcer_init(
/* in */ enum sidl_ContractClass__enum contractClass,
/* in */ enum sidl_EnforceFreq__enum enforceFreq,
/* in */ int32_t interval,
/* in */ double overheadLimit,
/* in */ double appProgAvgPerCall,
/* in */ double annealLimit,
/* in */ sidl_bool clearStats);
extern
void
sidl_Enforcer_reset(
void);
extern
sidl_bool
sidl_Enforcer_areEnforcing(
void);
extern
enum sidl_ContractClass__enum
sidl_Enforcer_getContractClass(
void);
extern
enum sidl_EnforceFreq__enum
sidl_Enforcer_getEnforceFreq(
void);
extern
int32_t
sidl_Enforcer_getSamplingInterval(
void);
extern
double
sidl_Enforcer_getOverheadLimit(
void);
extern
double
sidl_Enforcer_getAppAvgPerCall(
void);
extern
double
sidl_Enforcer_getAnnealLimit(
void);
extern
sidl_bool
sidl_Enforcer_enforceClause(
/* in */ sidl_bool firstPerCall,
/* in */ enum sidl_ClauseType__enum clauseType,
/* in */ int32_t complexity,
/* in */ sidl_bool hasMethCall,
/* in */ sidl_bool hasResults,
/* in */ double methTime,
/* in */ double clauseTime);
extern
void
sidl_Enforcer_dumpStats(
/* in */ const char* filename,
/* in */ sidl_bool header,
/* in */ const char* prefix,
/* in */ sidl_bool compressed);
extern
void
sidl_Enforcer_dumpStatsHeader(
/* in */ void* filePtr,
/* in */ sidl_bool newLine);
extern
void
sidl_Enforcer_dumpStatsData(
/* in */ void* filePtr,
/* in */ const char* prefix,
/* in */ sidl_bool newLine);
extern
void
sidl_Enforcer_startTrace(
/* in */ const char* filename,
/* in */ enum sidl_EnfTraceLevel__enum traceLevel);
extern
sidl_bool
sidl_Enforcer_areTracing(
void);
extern
char*
sidl_Enforcer_getTraceFilename(
void);
extern
enum sidl_EnfTraceLevel__enum
sidl_Enforcer_getTraceLevel(
void);
extern
void
sidl_Enforcer_logTrace(
/* in */ const char* className,
/* in */ const char* methName,
/* in */ int32_t methIndex,
/* in */ int32_t preComp,
/* in */ int32_t postComp,
/* in */ int32_t invComp,
/* in */ double methTime,
/* in */ double preTime,
/* in */ double postTime,
/* in */ double inv1Time,
/* in */ double inv2Time);
extern
void
sidl_Enforcer_logTraceDecisions(
void);
extern
void
sidl_Enforcer_endTrace(
void);
extern
void
sidl_Enforcer_setEstimatesInterval(
/* in */ int32_t interval);
extern
int32_t
sidl_Enforcer_getEstimatesInterval(
void);
#ifdef __cplusplus
}
#endif
#endif
|