CMS 3D CMS Logo

Namespaces | 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.

Namespaces

 xrd_adaptor
 

Functions

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

Function Documentation

◆ d2str()

static std::string d2str ( double  input)
static

Definition at line 128 of file XrdStatistics.cc.

References postprocess-scan-build::formatter, and input.

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

128  {
129  std::ostringstream formatter;
130  formatter << std::setw(4) << input;
131  return formatter.str();
132 }
static std::string const input
Definition: EdmProvDump.cc:50

◆ i2str()

static std::string i2str ( int  input)
static

Definition at line 122 of file XrdStatistics.cc.

References postprocess-scan-build::formatter, and input.

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

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