CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 122 of file XrdStatistics.cc.

References input.

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

123 {
124  std::ostringstream formatter;
125  formatter << std::setw(4) << input;
126  return formatter.str();
127 }
static std::string const input
Definition: EdmProvDump.cc:44
static std::string i2str ( int  input)
static

Definition at line 113 of file XrdStatistics.cc.

References input.

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

114 {
115  std::ostringstream formatter;
116  formatter << input;
117  return formatter.str();
118 }
static std::string const input
Definition: EdmProvDump.cc:44