The SHM info. More...
#include <shm_main.h>
Data Fields | |
| struct ub_stats_info * | ptr_arr |
| stats_info array, shared memory segment. | |
| struct ub_shm_stat_info * | ptr_ctl |
| the global stats block, shared memory segment | |
| int | key |
| int | id_ctl |
| int | id_arr |
| lock_basic_type | lock |
| This mutex is on the volley information. | |
| int | volley_in_progress |
| If there is a volley, a number of stat timer callbacks by the threads, in progress. | |
| int * | thread_volley |
| Per thread, if they have put in stats. | |
| struct ub_stats_info | total_in_progress |
| The total stats of the thread stat timers, it is in progress. | |
The SHM info.
| struct ub_stats_info* shm_main_info::ptr_arr |
stats_info array, shared memory segment.
[0] is totals, [1..thread_num] are per-thread stats
| int shm_main_info::volley_in_progress |
If there is a volley, a number of stat timer callbacks by the threads, in progress.
If not, there is no volley in progress and the previous stat run has terminated succesfully for all threads. Usually activated by the first thread and deactivated by the last thread that starts its stat callback.
| int* shm_main_info::thread_volley |
Per thread, if they have put in stats.
0 if not.