![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Structure to store the performance informations about memory allocation and deallocation. More...
#include <shambackends/include/shambackends/MemPerfInfos.hpp>
Public Attributes | |
| f64 | time_alloc_host = 0 |
| Time spent allocating memory on the host. | |
| f64 | time_alloc_device = 0 |
| Time spent allocating memory on the device. | |
| f64 | time_alloc_shared = 0 |
| Time spent allocating memory in shared memory. | |
| f64 | time_free_host = 0 |
| Time spent deallocating memory on the host. | |
| f64 | time_free_device = 0 |
| Time spent deallocating memory on the device. | |
| f64 | time_free_shared = 0 |
| Time spent deallocating memory in shared memory. | |
| size_t | allocated_byte_host = 0 |
| Bytes allocated on the host. | |
| size_t | allocated_byte_device = 0 |
| Bytes allocated on the device. | |
| size_t | allocated_byte_shared = 0 |
| Bytes allocated in shared memory. | |
| size_t | max_allocated_byte_host = 0 |
| max bytes allocated on the host | |
| size_t | max_allocated_byte_device = 0 |
| max bytes allocated on the device | |
| size_t | max_allocated_byte_shared = 0 |
| max bytes allocated in shared memory | |
Structure to store the performance informations about memory allocation and deallocation.
This structure contains the times and allocated bytes for each memory space.
Definition at line 30 of file MemPerfInfos.hpp.
| size_t sham::MemPerfInfos::allocated_byte_device = 0 |
Bytes allocated on the device.
Definition at line 48 of file MemPerfInfos.hpp.
| size_t sham::MemPerfInfos::allocated_byte_host = 0 |
Bytes allocated on the host.
Definition at line 46 of file MemPerfInfos.hpp.
| size_t sham::MemPerfInfos::allocated_byte_shared = 0 |
Bytes allocated in shared memory.
Definition at line 50 of file MemPerfInfos.hpp.
| size_t sham::MemPerfInfos::max_allocated_byte_device = 0 |
max bytes allocated on the device
Definition at line 55 of file MemPerfInfos.hpp.
| size_t sham::MemPerfInfos::max_allocated_byte_host = 0 |
max bytes allocated on the host
Definition at line 53 of file MemPerfInfos.hpp.
| size_t sham::MemPerfInfos::max_allocated_byte_shared = 0 |
max bytes allocated in shared memory
Definition at line 57 of file MemPerfInfos.hpp.
| f64 sham::MemPerfInfos::time_alloc_device = 0 |
Time spent allocating memory on the device.
Definition at line 34 of file MemPerfInfos.hpp.
| f64 sham::MemPerfInfos::time_alloc_host = 0 |
Time spent allocating memory on the host.
Definition at line 32 of file MemPerfInfos.hpp.
| f64 sham::MemPerfInfos::time_alloc_shared = 0 |
Time spent allocating memory in shared memory.
Definition at line 36 of file MemPerfInfos.hpp.
| f64 sham::MemPerfInfos::time_free_device = 0 |
Time spent deallocating memory on the device.
Definition at line 41 of file MemPerfInfos.hpp.
| f64 sham::MemPerfInfos::time_free_host = 0 |
Time spent deallocating memory on the host.
Definition at line 39 of file MemPerfInfos.hpp.
| f64 sham::MemPerfInfos::time_free_shared = 0 |
Time spent deallocating memory in shared memory.
Definition at line 43 of file MemPerfInfos.hpp.