◆ memInfo()
template<MemType MEMTYPE = MEMTYPE_DEFAULT>
constructor
default constructor
◆ addTracePoint()
template<MemType MEMTYPE = MEMTYPE_DEFAULT>
insert function
add a memory trace point for the device memory
◆ addTracePointHost()
template<MemType MEMTYPE = MEMTYPE_DEFAULT>
insert function
add a memory trace point for the host memory
◆ enterInfo()
template<MemType MEMTYPE = MEMTYPE_DEFAULT>
void Proto::memInfo< MEMTYPE >::enterInfo |
( |
std::string |
file, |
|
|
unsigned int |
line, |
|
|
unsigned long int |
dataSize |
|
) |
| |
|
inline |
insert function
Enter information in a 'describeInfo' element element are defined by their location: file + line if the position does not exist, we create it
- Parameters
-
file | is file position for a given Malloc |
line | is line position in the file for a given Malloc |
dataSize | is size for a given Malloc |
◆ enterInfos()
template<MemType MEMTYPE = MEMTYPE_DEFAULT>
insert function
Enter information in a 'describeInfo' element element are defined by their position: file + line if the position does not already exist, we create it
- Parameters
-
position | is the position in the code for a given Malloc |
a_elem | contains the related information for a position in an other mpi process (used with mpi) |
◆ fexists()
template<MemType MEMTYPE = MEMTYPE_DEFAULT>
check function
check if a file exist. We avoid to rewrite a file when we print de memory trace.
◆ getMemInfo()
template<MemType MEMTYPE = MEMTYPE_DEFAULT>
trick to get only one instance of memInfo for a given MEMTYPE
◆ printInfo()
template<MemType MEMTYPE = MEMTYPE_DEFAULT>
display information stored in m_info and write the memory trace
The documentation for this class was generated from the following file: