gbenchVersion, osVersion, buildDate;
75 version.GetVersionString(&gbenchVersion);
76 version.GetOsString(&osVersion);
78 if(
version.IsSetBuild_date()) {
79buildDate =
version.GetBuild_date().AsCTime().AsString();
83req->
SetType().SetStr(
"app-start");
84req->
AddField(
"gbench-version", gbenchVersion);
85req->
AddField(
"os-version", osVersion);
86 if( !buildDate.empty() ){
87req->
AddField(
"build-date", buildDate);
97 stringgbenchVersion, osVersion, buildDate;
98 version.GetVersionString(&gbenchVersion);
99 version.GetOsString(&osVersion);
101 if(
version.IsSetBuild_date()) {
102buildDate =
version.GetBuild_date().AsCTime().AsString();
106req->
SetType().SetStr(
"app-finish");
107req->
AddField(
"gbench-version", gbenchVersion);
108req->
AddField(
"os-version", osVersion);
109 if( !buildDate.empty() ){
110req->
AddField(
"build-date", buildDate);
136 const string& email_addr,
154 if(sys_config_istr) {
168 stringurl(
"https://www.ncbi.nlm.nih.gov/projects/gbench/service/gbench_svc.cgi");
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
void EncodeSys_config(const string &str)
void EncodeApp_log(const string &str)
void EncodeDesc(const string &str)
compressors
void SendFeedbackReport(const string &msg, const string &email_addr, const CGBenchVersionInfo &version, CNcbiIstream *app_log_istr, CNcbiIstream *sys_config_istr)
format and file a feedback report
CRef< CUser_object > SendAppStart(const CGBenchVersionInfo &version)
CRef< CGBenchInitReply > SendInit(const CGBenchVersionInfo &version)
send an init message with information about our client
bool SendAppFinish(const CGBenchVersionInfo &version)
void x_Connect()
override x_Connect() to provide a testing interface
CUser_object & AddField(const string &label, const string &value, EParseField parse=eParse_String)
add a data field to the user object that holds a given value
static const STimeout s_DefaultTimeout
User-defined methods of the data storage class.
#define LOG_POST(message)
This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...
void Info(CExceptionArgs_Base &args)
void x_ConnectURL(const string &url)
Connect to a URL.
EIO_Status SetTimeout(const STimeout *timeout, EIO_Event direction=eIO_ReadWrite)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::istream CNcbiIstream
Portable alias for istream.
double Elapsed(void) const
Return time elapsed since first Start() or last Restart() call (in seconds).
void Stop(void)
Suspend the timer.
void Start(void)
Start the timer.
void SetEmail_addr(const TEmail_addr &value)
Assign a value to Email_addr data member.
void SetVersion(TVersion &value)
Assign a value to Version data member.
void SetVersion(TVersion &value)
Assign a value to Version data member.
void SetType(TType &value)
Assign a value to Type data member.
virtual CRef< CUser_object > AskGeneric(const CUser_object &req, TReply *reply=0)
virtual CRef< CGBenchInitReply > AskInit(const CGBenchInitRequest &req, TReply *reply=0)
virtual void AskFeedback(const CGBenchFeedbackRequest &req, TReply *reply=0)
const string version
version string
static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4