|
template<unsigned N> |
using | name_array = cet::sqlite::name_array< N > |
|
using | peakUsage_t = cet::sqlite::Ntuple< string, double, string > |
|
using | otherInfo_t = cet::sqlite::Ntuple< string, string, string, double, double > |
|
using | memEvent_t = cet::sqlite::Ntuple< string, uint32_t, uint32_t, uint32_t, double, double > |
|
using | memModule_t = cet::sqlite::Ntuple< string, uint32_t, uint32_t, uint32_t, string, string, string, double, double > |
|
using | memEventHeap_t = cet::sqlite::Ntuple< string, uint32_t, uint32_t, uint32_t, int, int, int, int, int, int, int > |
|
using | memModuleHeap_t = cet::sqlite::Ntuple< string, uint32_t, uint32_t, uint32_t, string, string, string, int, int, int, int, int, int, int > |
|
using art::MemoryTracker::memEventHeap_t = cet::sqlite::Ntuple<string, uint32_t, uint32_t, uint32_t, int, int, int, int, int, int, int> |
|
private |
using art::MemoryTracker::memModuleHeap_t = cet::sqlite::Ntuple<string, uint32_t, uint32_t, uint32_t, string, string, string, int, int, int, int, int, int, int> |
|
private |
Definition at line 21 of file MemoryTrackerDarwin_service.cc.
25 <<
"The MemoryTracker service is not supported for this operating " 27 <<
"If desired, please log an issue with:\n\n" 28 <<
"https://cdcvs.fnal.gov/redmine/projects/cet-is/issues/new\n\n";
MaybeLogger_< ELseverityLevel::ELsev_severe, true > LogAbsolute
bool art::MemoryTracker::checkMallocConfig_ |
( |
string const & |
dbfilename, |
|
|
bool |
include |
|
) |
| |
|
private |
Definition at line 371 of file MemoryTrackerLinux_service.cc.
374 if (
include && dbfilename.empty()) {
375 string const errmsg =
376 "\n'includeMallocInfo : true' is valid only if a nonempty db filename is specified:\n\n"s +
377 " MemoryTracker: {\n" 378 " includeMallocInfo: true\n" 380 " filename: \"your_filename.db\"\n" cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
void include(std::istream &in, std::string &result)
void art::MemoryTracker::flushTables_ |
( |
| ) |
|
|
private |
Definition at line 398 of file MemoryTrackerLinux_service.cc.
peakUsage_t peakUsageTable_
unique_ptr< memEventHeap_t > eventHeapTable_
otherInfo_t otherInfoTable_
unique_ptr< memModuleHeap_t > moduleHeapTable_
void art::MemoryTracker::postEndJob |
( |
| ) |
|
|
private |
void art::MemoryTracker::prePathProcessing |
( |
PathContext const & |
pc | ) |
|
|
private |
void art::MemoryTracker::recordEventData |
( |
Event const & |
e, |
|
|
string const & |
step |
|
) |
| |
|
private |
Definition at line 304 of file MemoryTrackerLinux_service.cc.
312 LinuxProcData::getValueInMB<vsize_t>(currentMemory),
313 LinuxProcData::getValueInMB<rss_t>(currentMemory));
void insert(Args const ...)
bool const includeMallocInfo_
unique_ptr< memEventHeap_t > eventHeapTable_
LinuxProcData::proc_tuple getCurrentData() const noexcept(false)
struct mallinfo get() const
EventNumber_t event() const
SubRunNumber_t subRun() const
Definition at line 331 of file MemoryTrackerLinux_service.cc.
341 LinuxProcData::getValueInMB<vsize_t>(currentMemory),
342 LinuxProcData::getValueInMB<rss_t>(currentMemory));
void insert(Args const ...)
bool const includeMallocInfo_
LinuxProcData::proc_tuple getCurrentData() const noexcept(false)
struct mallinfo get() const
EventNumber_t event() const
unique_ptr< memModuleHeap_t > moduleHeapTable_
SubRunNumber_t subRun() const
Definition at line 292 of file MemoryTrackerLinux_service.cc.
299 LinuxProcData::getValueInMB<vsize_t>(
data),
300 LinuxProcData::getValueInMB<rss_t>(
data));
void insert(Args const ...)
LinuxProcData::proc_tuple getCurrentData() const noexcept(false)
otherInfo_t otherInfoTable_
void art::MemoryTracker::recordPeakUsages_ |
( |
| ) |
|
|
private |
Definition at line 389 of file MemoryTrackerLinux_service.cc.
void insert(Args const ...)
double getVmHWM() const noexcept(false)
double getVmPeak() const noexcept(false)
peakUsage_t peakUsageTable_
void art::MemoryTracker::summary_ |
( |
| ) |
|
|
private |
Definition at line 413 of file MemoryTrackerLinux_service.cc.
421 .where(
"Name='VmPeak'");
424 .where(
"Name='VmHWM'");
427 log <<
'\n' << rule(
'=') <<
'\n';
428 log <<
std::left <<
"MemoryTracker summary (base-10 MB units used)\n\n";
429 log <<
" Peak virtual memory usage (VmPeak) : " <<
unique_value(rVMax)
431 <<
" Peak resident set size usage (VmHWM): " <<
unique_value(rRMax)
434 log <<
" Details saved in: '" <<
fileName_ <<
"'\n";
T unique_value(query_result< T > const &r)
peakUsage_t peakUsageTable_
std::string const & name() const
unique_ptr< cet::sqlite::Connection > const db_
auto select(T const &...t)
name_array<11u> art::MemoryTracker::eventHeapColumns_ |
|
private |
Initial value:{{"Step",
"Run",
"SubRun",
"Event",
"arena",
"ordblks",
"keepcost",
"hblkhd",
"hblks",
"uordblks",
"fordblks"}}
Definition at line 165 of file MemoryTrackerLinux_service.cc.
string const art::MemoryTracker::fileName_ |
|
private |
bool const art::MemoryTracker::includeMallocInfo_ |
|
private |
Initial value:{{"Step",
"Run",
"SubRun",
"Event",
"Path",
"ModuleLabel",
"ModuleType",
"Vsize",
"RSS"}}
Definition at line 156 of file MemoryTrackerLinux_service.cc.
name_array<14u> art::MemoryTracker::moduleHeapColumns_ |
|
private |
Initial value:{{"Step",
"Run",
"SubRun",
"Event",
"Path",
"ModuleLabel",
"ModuleType",
"arena",
"ordblks",
"keepcost",
"hblkhd",
"hblks",
"uordblks",
"fordblks"}}
Definition at line 176 of file MemoryTrackerLinux_service.cc.
name_array<5u> art::MemoryTracker::otherInfoColumns_ |
|
private |
bool const art::MemoryTracker::overwriteContents_ |
|
private |
name_array<3u> art::MemoryTracker::peakUsageColumns_ {{"Name", "Value", "Description"}} |
|
private |
static constexpr bool art::MemoryTracker::service_handle_allowed {false} |
|
static |
The documentation for this class was generated from the following files: