QUDA  1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
quda::MemAlloc Class Reference
Collaboration diagram for quda::MemAlloc:
Collaboration graph
[legend]

Public Member Functions

 MemAlloc ()
 
 MemAlloc (std::string func, std::string file, int line)
 
MemAllocoperator= (const MemAlloc &a)
 

Public Attributes

std::string func
 
std::string file
 
int line
 
size_t size
 
size_t base_size
 

Detailed Description

Definition at line 25 of file malloc.cpp.

Constructor & Destructor Documentation

◆ MemAlloc() [1/2]

quda::MemAlloc::MemAlloc ( )
inline

Definition at line 34 of file malloc.cpp.

◆ MemAlloc() [2/2]

quda::MemAlloc::MemAlloc ( std::string  func,
std::string  file,
int  line 
)
inline

Definition at line 37 of file malloc.cpp.

Member Function Documentation

◆ operator=()

MemAlloc& quda::MemAlloc::operator= ( const MemAlloc a)
inline

Definition at line 40 of file malloc.cpp.

References base_size, file, func, line, and size.

Member Data Documentation

◆ base_size

size_t quda::MemAlloc::base_size

◆ file

std::string quda::MemAlloc::file

Definition at line 29 of file malloc.cpp.

Referenced by quda::aligned_malloc(), operator=(), and quda::print_alloc().

◆ func

std::string quda::MemAlloc::func

Definition at line 28 of file malloc.cpp.

Referenced by quda::aligned_malloc(), operator=(), and quda::print_alloc().

◆ line

int quda::MemAlloc::line

Definition at line 30 of file malloc.cpp.

Referenced by quda::aligned_malloc(), operator=(), and quda::print_alloc().

◆ size

size_t quda::MemAlloc::size

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