Go to the source code of this file.
◆ BRNG
Value: {\
b = ((z1 << 6) ^ z1) >> 13;\
z1 = ((
z1 & 4294967294U) << 18) ^
b;\
b = ((z2 << 2) ^ z2) >> 27;\
z2 = ((
z2 & 4294967288U) << 2) ^
b;\
b = ((z3 << 13) ^ z3) >> 21;\
z3 = ((
z3 & 4294967280U) << 7) ^
b;\
b = ((z4 << 3) ^ z4) >> 12;\
z4 = ((
z4 & 4294967168U) << 13) ^
b;\
}
Definition at line 9 of file Lib_With_Created_Counter.c.
◆ MY_EPSILON
| #define MY_EPSILON 0.0001 |
◆ cclib_do_more_work()
| void cclib_do_more_work |
( |
void |
| ) |
|
Definition at line 66 of file Lib_With_Created_Counter.c.
66 {
68
69 for(
i=0;
i<500*1000;
i++){
71 double r = (1.0*
result)/(1.0*INT_MAX);
74 }
75
77 (void)usleep(1);
78 }
79
80 return;
81}
int papi_sde_inc_counter(papi_handle_t cntr_handle, long long int increment)
◆ cclib_do_work()
| void cclib_do_work |
( |
void |
| ) |
|
Definition at line 49 of file Lib_With_Created_Counter.c.
49 {
51
52 for(
i=0;
i<100*1000;
i++){
54 double r = (1.0*
result)/(1.0*INT_MAX);
57 }
58
60 (void)usleep(1);
61 }
62
63 return;
64}
◆ cclib_init()
Definition at line 35 of file Lib_With_Created_Counter.c.
35 {
37
40
45
46 return;
47}
static const char * event_names[1]
papi_handle_t papi_sde_init(const char *name_of_library)
int papi_sde_create_counter(papi_handle_t handle, const char *event_name, int cntr_mode, void **cntr_handle)
◆ papi_sde_hook_list_events()
Definition at line 86 of file Lib_With_Created_Counter.c.
86 {
88 sde_handle = fptr_struct->
init(
"Lib_With_CC");
91 return sde_handle;
92}
int(* describe_counter)(papi_handle_t handle, const char *event_name, const char *event_description)
papi_handle_t(* init)(const char *lib_name)
int(* create_counter)(papi_handle_t handle, const char *event_name, int cntr_type, void **cntr_handle)
◆ cntr_handle
◆ event_names
| const char* event_names[1] |
|
static |
◆ result
◆ z1
◆ z2
◆ z3
◆ z4