CMS 3D CMS Logo

Functions
XrdStatistics.cc File Reference
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
#include "FWCore/MessageLogger/interface/JobReport.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "FWCore/ServiceRegistry/interface/ActivityRegistry.h"
#include "XrdRequest.h"
#include "XrdStatistics.h"
#include <chrono>

Go to the source code of this file.

Functions

static std::string d2str (double input)
 
static std::string i2str (int input)
 

Function Documentation

static std::string d2str ( double  input)
static

Definition at line 143 of file XrdStatistics.cc.

References input.

Referenced by XrdAdaptor::XrdSiteStatistics::recomputeProperties().

144 {
145  std::ostringstream formatter;
146  formatter << std::setw(4) << input;
147  return formatter.str();
148 }
static std::string const input
Definition: EdmProvDump.cc:45
static std::string i2str ( int  input)
static

Definition at line 134 of file XrdStatistics.cc.

References input, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by XrdAdaptor::XrdSiteStatistics::recomputeProperties().

135 {
136  std::ostringstream formatter;
137  formatter << input;
138  return formatter.str();
139 }
static std::string const input
Definition: EdmProvDump.cc:45