NCBI C++ ToolKit
Classes | Macros
ncbi_usage_report.hpp File Reference
#include <corelib/ncbistl.hpp>
#include <corelib/ncbitime.hpp>
#include <connect/ncbi_http_session.hpp>
#include <mutex>
#include <thread>
#include <condition_variable>
+ Include dependency graph for ncbi_usage_report.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CUsageReportBase
 CUsageReportBase:: Base class to define common types for CUsageReport API. More...
 
class  CUsageReportAPI
 CUsageReportAPI:: Global settings related to the usage reporting. More...
 
class  CUsageReportParameters
 CUsageReportParameters:: More...
 
class  CUsageReportJob
 CUsageReportJob:: More...
 
class  CUsageReport
 CUsageReport:: More...
 

Macros

#define NCBI_USAGE_REPORT_SUPPORTED   1
 
#define NCBI_REPORT_USAGE(event, ...)   __NCBI_REPORT_USAGE(event, __VA_ARGS__)
 Convenience macro to log "jsevent" usage statistics (asynchronously). More...
 
#define __NCBI_REPORT_USAGE(event, args)
 
#define NCBI_REPORT_USAGE_START   CUsageReportAPI::SetEnabled()
 Enable usage statistics reporting (globally for all reporters). More...
 
#define NCBI_REPORT_USAGE_WAIT   CUsageReport::Instance().Wait(CUsageReport::eAlways)
 Wait until all reports via NCBI_REPORT_USAGE will be processed. More...
 
#define NCBI_REPORT_USAGE_WAIT_ALWAYS   CUsageReport::Instance().Wait(CUsageReport::eAlways)
 
#define NCBI_REPORT_USAGE_WAIT_TIMEOUT(t)   CUsageReport::Instance().Wait(CUsageReport::eAlways, t)
 
#define NCBI_REPORT_USAGE_WAIT_IF_SUCCESS   CUsageReport::Instance().Wait(CUsageReport::eSkipIfNoConnection)
 
#define NCBI_REPORT_USAGE_FINISH   CUsageReport::Instance().Finish()
 Finishing reporting via NCBI_REPORT_USAGE and global usage reporter,. More...
 

Macro Definition Documentation

◆ NCBI_USAGE_REPORT_SUPPORTED

#define NCBI_USAGE_REPORT_SUPPORTED   1

Definition at line 58 of file ncbi_usage_report.hpp.

Modified on Wed Sep 04 15:02:00 2024 by modify_doxy.py rev. 669887