IPPL (Independent Parallel Particle Layer)
IPPL
Loading...
Searching...
No Matches
ippl::LogEntry Struct Reference

#include <LogEntry.h>

Collaboration diagram for ippl::LogEntry:

Public Member Functions

std::vector< char > serialize () const

Static Public Member Functions

static LogEntry deserialize (const std::vector< char > &buffer, size_t offset=0)

Public Attributes

std::string methodName
std::map< std::string, std::string > parameters
size_t usedSize
size_t freeSize
std::string memorySpace
int rank
std::chrono::time_point< std::chrono::high_resolution_clock > timestamp

Detailed Description

Definition at line 12 of file LogEntry.h.

Member Function Documentation

◆ deserialize()

LogEntry ippl::LogEntry::deserialize ( const std::vector< char > & buffer,
size_t offset = 0 )
static

Definition at line 43 of file LogEntry.cpp.

References ippl::deserializeBasicType(), ippl::deserializeString(), freeSize, memorySpace, methodName, parameters, rank, timestamp, and usedSize.

Referenced by ippl::mpi::deserializeLogs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ serialize()

std::vector< char > ippl::LogEntry::serialize ( ) const

Definition at line 20 of file LogEntry.cpp.

References freeSize, memorySpace, methodName, parameters, rank, ippl::serializeBasicType(), ippl::serializeString(), timestamp, and usedSize.

Referenced by ippl::mpi::deserializeLogs().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ freeSize

size_t ippl::LogEntry::freeSize

Definition at line 16 of file LogEntry.h.

Referenced by deserialize(), and serialize().

◆ memorySpace

std::string ippl::LogEntry::memorySpace

Definition at line 17 of file LogEntry.h.

Referenced by deserialize(), and serialize().

◆ methodName

std::string ippl::LogEntry::methodName

Definition at line 13 of file LogEntry.h.

Referenced by deserialize(), and serialize().

◆ parameters

std::map<std::string, std::string> ippl::LogEntry::parameters

Definition at line 14 of file LogEntry.h.

Referenced by deserialize(), and serialize().

◆ rank

int ippl::LogEntry::rank

Definition at line 18 of file LogEntry.h.

Referenced by deserialize(), and serialize().

◆ timestamp

std::chrono::time_point<std::chrono::high_resolution_clock> ippl::LogEntry::timestamp

Definition at line 19 of file LogEntry.h.

Referenced by deserialize(), and serialize().

◆ usedSize

size_t ippl::LogEntry::usedSize

Definition at line 15 of file LogEntry.h.

Referenced by deserialize(), and serialize().


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