#include <stdint.h>
#include <stdlib.h>
#include <pthread.h>
#include <sys/sysinfo.h>
#include "threadmgr.h"
#include "thread_data.h"
#include "write_data.h"
#include "trace.h"
#include "sample_sources_all.h"
#include <lib/prof-lean/stdatomic.h>
#include <lib/prof-lean/spinlock.h>
#include <include/queue.h>
#include <monitor.h>
Go to the source code of this file.
◆ HPCRUN_OPTION_MERGE_THREAD
#define HPCRUN_OPTION_MERGE_THREAD "HPCRUN_MERGE_THREADS" |
◆ HPCRUN_THREADS_DEBUG
#define HPCRUN_THREADS_DEBUG 0 |
◆ thread_list_t
◆ adjust_num_logical_threads()
static int32_t adjust_num_logical_threads |
( |
int32_t |
val | ) |
|
|
static |
◆ allocate_and_init_thread_data()
◆ finalize_all_thread_data()
static void* finalize_all_thread_data |
( |
void * |
arg | ) |
|
|
static |
◆ finalize_thread_data()
◆ get_num_logical_threads()
static int32_t get_num_logical_threads |
( |
| ) |
|
|
static |
◆ grab_thread_data()
◆ hpcrun_threadMgr_compact_thread()
int hpcrun_threadMgr_compact_thread |
( |
| ) |
|
Return the type of HPCRUN_OPTION_MERGE_THREAD option Possible value: OPTION_COMPACT_THREAD : (default) compact thread is required OPTION_NO_COMPACT_THREAD : do not compact the threads
Definition at line 244 of file threadmgr.c.
◆ hpcrun_threadMgr_data_fini()
◆ hpcrun_threadMgr_data_get()
◆ hpcrun_threadMgr_data_put()
◆ hpcrun_threadmgr_thread_count()
int hpcrun_threadmgr_thread_count |
( |
| ) |
|
◆ hpcrun_threadmgr_thread_delete()
void hpcrun_threadmgr_thread_delete |
( |
| ) |
|
◆ hpcrun_threadmgr_thread_new()
void hpcrun_threadmgr_thread_new |
( |
| ) |
|
◆ is_compact_thread()
static bool is_compact_thread |
( |
| ) |
|
|
static |
◆ SLIST_HEAD()
◆ threadmgr_active_threads
◆ threadmgr_num_threads