78 if( !hits||!time||!size||!out_hits||!out_time||!out_size)
81 printf(
"Failled to allocate array\n");
114 REAL(free)( out_hits );
115 REAL(free)( out_time );
116 REAL(free)( out_size );
156 printf(
"POSIX profile ======================================\n");
160 if( !entries[i].
hits )
165 if( entries[i].
size )
166 printf(
"size: %lld", entries[i].size );
171 printf(
"===================================================\n");
174 REAL(free)( entries );
void Profile_Entry_init(struct Profile_Entry *ent, Wrapped_symbol id)
void POSIX_profile_render()
static MPI_Comm VMPI_Get_partition_comm()
Returns current partition's communicator.
void POSIX_profile_reduce()
void POSIX_profile_release()
#define TEST_LOAD_SYMBOL(a)
Wrapped_symbol
enum indicating which symbols are wrapped
void POSIX_profile_init()
static double Timer_second()
Getter on the current timer scale second.
int Profile_Entry_sort(const void *a, const void *b)
void Profile_Entry_release(struct Profile_Entry *ent)
static const char *const Wrapped_symbol_names[T_POSIX_COUNT]
Array containing wrapped symbols names.
struct Profile_Entry __POSIX_Profile_entries[T_POSIX_COUNT]
void POSIX_profile_serialize()