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 122 of file XrdStatistics.cc.

References input.

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

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

Definition at line 116 of file XrdStatistics.cc.

References input.

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

116  {
117  std::ostringstream formatter;
118  formatter << input;
119  return formatter.str();
120 }
static std::string const input
Definition: EdmProvDump.cc:48