7#define MY_EPSILON 0.0001
10 b = ((z1 << 6) ^ z1) >> 13;\
11 z1 = ((z1 & 4294967294U) << 18) ^ b;\
12 b = ((z2 << 2) ^ z2) >> 27;\
13 z2 = ((z2 & 4294967288U) << 2) ^ b;\
14 b = ((z3 << 13) ^ z3) >> 21;\
15 z3 = ((z3 & 4294967280U) << 7) ^ b;\
16 b = ((z4 << 3) ^ z4) >> 12;\
17 z4 = ((z4 & 4294967168U) << 13) ^ b;\
19 result = z1 ^ z2 ^ z3 ^ z4;\
52 for(
i=0;
i<100*1000;
i++){
54 double r = (1.0*
result)/(1.0*INT_MAX);
69 for(
i=0;
i<500*1000;
i++){
71 double r = (1.0*
result)/(1.0*INT_MAX);
88 sde_handle = fptr_struct->
init(
"Lib_With_CC");
papi_handle_t papi_sde_hook_list_events(papi_sde_fptr_struct_t *fptr_struct)
static const char * event_names[1]
void cclib_do_more_work(void)
papi_handle_t papi_sde_init(const char *name_of_library)
int papi_sde_inc_counter(papi_handle_t cntr_handle, long long int increment)
int papi_sde_create_counter(papi_handle_t handle, const char *event_name, int cntr_mode, void **cntr_handle)
SDE prototypes and macros.
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)