![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Include dependency graph for chrome.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | shambase |
| namespace for basic c++ utilities | |
Functions | |
| void | shambase::profiling::chrome::set_chrome_pid (u32 pid) |
| Set the Chrome tracing process id. | |
| void | shambase::profiling::chrome::set_time_offset (f64 offset) |
| Set the time offset used for Chrome tracing. | |
| void | shambase::profiling::chrome::register_event_start (const std::string &name, const std::string &category_name, f64 t_start, u64 pid, u64 tid) |
| Register the start of an event in Chrome tracing. | |
| void | shambase::profiling::chrome::register_event_end (const std::string &name, const std::string &category_name, f64 tend, u64 pid, u64 tid) |
| Register the end of an event in Chrome tracing. | |
| void | shambase::profiling::chrome::register_event_complete (const std::string &name, const std::string &category_name, f64 t_start, f64 tend, u64 pid, u64 tid) |
| Register a complete event in Chrome tracing. | |
| void | shambase::profiling::chrome::register_metadata_thread_name (u64 pid, u64 tid, const std::string &name) |
| Register a thread name in Chrome tracing. | |
| void | shambase::profiling::chrome::register_counter_val (u64 pid, f64 t, const std::string &name, f64 val) |
| Register a counter value in Chrome tracing. | |
Definition in file chrome.hpp.
| void shambase::profiling::chrome::register_counter_val | ( | u64 | pid, |
| f64 | t, | ||
| const std::string & | name, | ||
| f64 | val | ||
| ) |
Register a counter value in Chrome tracing.
This registers a counter value in Chrome tracing. It is used to record a value of a counter in the trace.
| pid | The process id of the counter |
| t | The time of the counter |
| name | The name of the counter |
| val | The value of the counter |
Definition at line 225 of file chrome.cpp.
Here is the call graph for this function:| void shambase::profiling::chrome::register_event_complete | ( | const std::string & | name, |
| const std::string & | category_name, | ||
| f64 | t_start, | ||
| f64 | tend, | ||
| u64 | pid, | ||
| u64 | tid | ||
| ) |
Register a complete event in Chrome tracing.
This registers a complete event in Chrome tracing. It is used to register an event with both its start and end times.
| name | The name of the event |
| category_name | The category name of the event |
| t_start | The start time of the event |
| tend | The end time of the event |
| pid | The process id of the event |
| tid | The thread id of the event |
Definition at line 208 of file chrome.cpp.
Here is the call graph for this function:| void shambase::profiling::chrome::register_event_end | ( | const std::string & | name, |
| const std::string & | category_name, | ||
| f64 | tend, | ||
| u64 | pid, | ||
| u64 | tid | ||
| ) |
Register the end of an event in Chrome tracing.
This registers the end of an event in Chrome tracing. It is used to mark the end of an event in the trace.
| name | The name of the event |
| category_name | The category name of the event |
| tend | The end time of the event |
| pid | The process id of the event |
| tid | The thread id of the event |
Definition at line 203 of file chrome.cpp.
Here is the call graph for this function:| void shambase::profiling::chrome::register_event_start | ( | const std::string & | name, |
| const std::string & | category_name, | ||
| f64 | t_start, | ||
| u64 | pid, | ||
| u64 | tid | ||
| ) |
Register the start of an event in Chrome tracing.
This registers the start of an event in Chrome tracing. It is used to mark the beginning of an event in the trace.
| name | The name of the event |
| category_name | The category name of the event |
| t_start | The start time of the event |
| pid | The process id of the event |
| tid | The thread id of the event |
Definition at line 197 of file chrome.cpp.
Here is the call graph for this function:| void shambase::profiling::chrome::register_metadata_thread_name | ( | u64 | pid, |
| u64 | tid, | ||
| const std::string & | name | ||
| ) |
Register a thread name in Chrome tracing.
This registers a thread name in Chrome tracing. It is used to give a name to a thread in the trace.
| pid | The process id of the thread |
| tid | The thread id of the thread |
| name | The name of the thread |
Definition at line 220 of file chrome.cpp.
Here is the call graph for this function:| void shambase::profiling::chrome::set_chrome_pid | ( | u32 | pid | ) |
Set the Chrome tracing process id.
This sets the process id used by the Chrome tracing library. It should be set to the value of the MPI world rank.
| pid | The process id |
Definition at line 32 of file chrome.cpp.
Here is the call graph for this function:| void shambase::profiling::chrome::set_time_offset | ( | f64 | offset | ) |
Set the time offset used for Chrome tracing.
This sets the time offset used for Chrome tracing. It is used to adjust the times of the events so that they are correctly aligned with the times of the other events in the trace.
| offset | The time offset |
Definition at line 30 of file chrome.cpp.
Here is the call graph for this function: