CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
anonymous_namespace{statistics_database.cc} Namespace Reference

Classes

struct  PublishStats
 
struct  GcStats
 

Functions

std::string PrepareStatementIntoPublish (const perf::Statistics *statistics, const std::string &start_time, const std::string &finish_time, const bool success)
 
std::string PrepareStatementIntoGc (const perf::Statistics *statistics, const std::string &start_time, const std::string &finish_time, const std::string &repo_name, const bool success)
 

Function Documentation

std::string anonymous_namespace{statistics_database.cc}::PrepareStatementIntoGc ( const perf::Statistics statistics,
const std::string &  start_time,
const std::string &  finish_time,
const std::string &  repo_name,
const bool  success 
)

Build the insert statement into gc_statistics table.

Parameters
statsa struct with values stored in strings
start_time,finish_timeto run Main() of the command
repo_namefully qualified name of the repository
Returns
the insert statement

Definition at line 189 of file statistics_database.cc.

Referenced by StatisticsDatabase::StoreGCStatistics().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string anonymous_namespace{statistics_database.cc}::PrepareStatementIntoPublish ( const perf::Statistics statistics,
const std::string &  start_time,
const std::string &  finish_time,
const bool  success 
)

Build the insert statement into publish_statistics table.

Parameters
statsa struct with all values stored in strings
Returns
the insert statement

Definition at line 128 of file statistics_database.cc.

Referenced by StatisticsDatabase::StorePublishStatistics().

Here is the caller graph for this function: