LLVM OpenMP 20.0.0git
|
Statistics gathering and processing. More...
#include "kmp.h"
#include "kmp_lock.h"
#include "kmp_stats.h"
#include "kmp_str.h"
#include <algorithm>
#include <ctime>
#include <iomanip>
#include <sstream>
#include <stdlib.h>
#include <cmath>
Go to the source code of this file.
Macros | |
#define | STRINGIZE2(x) #x |
#define | STRINGIZE(x) STRINGIZE2(x) |
#define | expandName(name, flags, ignore) {STRINGIZE(name), flags}, |
#define | expandName(ignore1, ignore2, ignore3) {0.0, 0.0, 0.0}, |
Functions | |
int | compare_two_events (const void *event1, const void *event2) |
static char const * | lastName (char *name) |
static char const * | getImageName (char *buffer, size_t buflen) |
static void | getTime (char *buffer, size_t buflen, bool underscores=false) |
static std::string | generateFilename (char const *prototype, char const *imageName) |
static void | outputEnvVariable (FILE *statsOut, char const *name) |
void | __kmp_reset_stats () |
void | __kmp_output_stats (const char *heading) |
void | __kmp_accumulate_stats_at_exit (void) |
void | __kmp_stats_init (void) |
void | __kmp_stats_fini (void) |
Variables | |
static uint32_t | statsPrinted = 0 |
static kmp_stats_output_module * | __kmp_stats_global_output = NULL |
Statistics gathering and processing.
Definition in file kmp_stats.cpp.
#define expandName | ( | ignore1, | |
ignore2, | |||
ignore3 | |||
) | {0.0, 0.0, 0.0}, |
Definition at line 35 of file kmp_stats.cpp.
Definition at line 35 of file kmp_stats.cpp.
#define STRINGIZE | ( | x | ) | STRINGIZE2(x) |
Definition at line 26 of file kmp_stats.cpp.
#define STRINGIZE2 | ( | x | ) | #x |
Definition at line 25 of file kmp_stats.cpp.
Definition at line 903 of file kmp_stats.cpp.
References __kmp_output_stats(), KMP_XCHG_FIXED32, and statsPrinted.
Referenced by __kmp_stats_fini().
Definition at line 898 of file kmp_stats.cpp.
References __kmp_reset_stats(), and __kmp_stats_global_output.
Referenced by __kmp_accumulate_stats_at_exit().
void __kmp_reset_stats | ( | ) |
Definition at line 879 of file kmp_stats.cpp.
References counter.
Referenced by __kmp_output_stats().
Definition at line 918 of file kmp_stats.cpp.
References __kmp_accumulate_stats_at_exit(), and __kmp_stats_global_output.
Referenced by __kmp_cleanup().
Definition at line 911 of file kmp_stats.cpp.
References __kmp_init_tas_lock(), __kmp_stats_global_output, and tsc_tick_count::now().
Referenced by __kmp_do_serial_initialize().
Definition at line 367 of file kmp_stats.cpp.
References RCAST.
Definition at line 478 of file kmp_stats.cpp.
References char, f(), KMP_CHECK_SYSFAIL, and lastName().
Definition at line 497 of file kmp_stats.cpp.
Referenced by generateFilename().
Definition at line 466 of file kmp_stats.cpp.
Referenced by getImageName().
Definition at line 758 of file kmp_stats.cpp.
|
static |
Definition at line 68 of file kmp_stats.cpp.
Referenced by __kmp_output_stats(), __kmp_stats_fini(), and __kmp_stats_init().
|
static |
Definition at line 65 of file kmp_stats.cpp.
Referenced by __kmp_accumulate_stats_at_exit().