Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Attributes | List of all members
sham::MemPerfInfos Struct Reference

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
 

Detailed Description

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.

Member Data Documentation

◆ allocated_byte_device

size_t sham::MemPerfInfos::allocated_byte_device = 0

Bytes allocated on the device.

Definition at line 48 of file MemPerfInfos.hpp.

◆ allocated_byte_host

size_t sham::MemPerfInfos::allocated_byte_host = 0

Bytes allocated on the host.

Definition at line 46 of file MemPerfInfos.hpp.

◆ allocated_byte_shared

size_t sham::MemPerfInfos::allocated_byte_shared = 0

Bytes allocated in shared memory.

Definition at line 50 of file MemPerfInfos.hpp.

◆ max_allocated_byte_device

size_t sham::MemPerfInfos::max_allocated_byte_device = 0

max bytes allocated on the device

Definition at line 55 of file MemPerfInfos.hpp.

◆ max_allocated_byte_host

size_t sham::MemPerfInfos::max_allocated_byte_host = 0

max bytes allocated on the host

Definition at line 53 of file MemPerfInfos.hpp.

◆ max_allocated_byte_shared

size_t sham::MemPerfInfos::max_allocated_byte_shared = 0

max bytes allocated in shared memory

Definition at line 57 of file MemPerfInfos.hpp.

◆ time_alloc_device

f64 sham::MemPerfInfos::time_alloc_device = 0

Time spent allocating memory on the device.

Definition at line 34 of file MemPerfInfos.hpp.

◆ time_alloc_host

f64 sham::MemPerfInfos::time_alloc_host = 0

Time spent allocating memory on the host.

Definition at line 32 of file MemPerfInfos.hpp.

◆ time_alloc_shared

f64 sham::MemPerfInfos::time_alloc_shared = 0

Time spent allocating memory in shared memory.

Definition at line 36 of file MemPerfInfos.hpp.

◆ time_free_device

f64 sham::MemPerfInfos::time_free_device = 0

Time spent deallocating memory on the device.

Definition at line 41 of file MemPerfInfos.hpp.

◆ time_free_host

f64 sham::MemPerfInfos::time_free_host = 0

Time spent deallocating memory on the host.

Definition at line 39 of file MemPerfInfos.hpp.

◆ time_free_shared

f64 sham::MemPerfInfos::time_free_shared = 0

Time spent deallocating memory in shared memory.

Definition at line 43 of file MemPerfInfos.hpp.


The documentation for this struct was generated from the following file: