/[v1]/trunk/c++/src/connect/ncbi_usage_report.cpp
ViewVC logotype

Log of /trunk/c++/src/connect/ncbi_usage_report.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 103411 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 5 13:17:36 2024 UTC (2 months, 4 weeks ago) by lavr
File length: 21322 byte(s)
Diff to previous 102435
Cosmetics

Revision 102435 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 6 12:06:40 2024 UTC (8 months, 4 weeks ago) by ivanov
File length: 21322 byte(s)
Diff to previous 102409
Delete unused variables. JIRA:CXX-13578

Revision 102409 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 1 20:55:48 2024 UTC (9 months ago) by vakatov
File length: 21444 byte(s)
Diff to previous 102405
Fixed compilation in single-thread mode.  JIRA:CXX-13578

Revision 102405 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 1 14:23:42 2024 UTC (9 months ago) by ivanov
File length: 21372 byte(s)
Diff to previous 102402
Fixed compilation on Unix. JIRA:CXX-13578

Revision 102402 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 1 13:48:08 2024 UTC (9 months ago) by ivanov
File length: 21317 byte(s)
Diff to previous 102093
Add CUsageReportAPI methods to set/get connection timeouts and number of retries
to have a different values than underlying Connect API, if necessary.
Extend CUsageReport::Wait() adding timeout and specify what to do if no connection.
All new parameters are configurable using CParam.
Add new variands of NCBI_REPORT_USAGE_WAIT_* macro to accomodate Wait() chnages.
JIRA:CXX-13578

Revision 102093 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 29 15:09:08 2024 UTC (10 months, 1 week ago) by ivanov
File length: 16858 byte(s)
Diff to previous 97557
Compliance with Console Do Not Track and honoring DO_NOT_TRACK environment variable to disable reporting (max priority). JIRA:CXX-13534

Revision 97557 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 28 03:36:37 2022 UTC (2 years, 6 months ago) by lavr
File length: 16588 byte(s)
Diff to previous 89525
s_GetOS(): avoid producing unreachable code

Revision 89525 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 6 04:18:34 2020 UTC (4 years, 10 months ago) by lavr
File length: 16584 byte(s)
Diff to previous 89172
More conditionals to avoid unused code warnings

Revision 89172 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 3 18:47:23 2020 UTC (4 years, 11 months ago) by ivanov
File length: 16448 byte(s)
Diff to previous 89168
Allow API to call for non-MT build, but made it no-op.
Drop Enable/Disable methods, leave SetEnabled() only. 
JIRA:CXX-10800

Revision 89168 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 3 17:48:56 2020 UTC (4 years, 11 months ago) by ivanov
File length: 15614 byte(s)
Diff to previous 89128
Reestablish NCBI_USAGE_REPORT_SUPPORTED guard macro and define it for MT builds only. JIRA:CXX-10800

Revision 89128 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 27 17:59:46 2020 UTC (4 years, 11 months ago) by ivanov
File length: 15530 byte(s)
Diff to previous 89126
- Drop unused header.
- Renamed CUsageReportBase::EWhat::eEmpty to eNone.
- Drop NCBI_USAGE_REPORT_SUPPORTED guard, seems not necesary needed anymore.
- CUsageReport::x_ThreadHandler() -- check on enabled status, and cancel 
  all jobs if reporter become disabled. 

JIRA:CXX-10800

Revision 89126 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 27 15:40:47 2020 UTC (4 years, 11 months ago) by ivanov
File length: 15456 byte(s)
Diff to previous 89121
Call async thread handler from current object, not from global instance. JIRA:CXX-10800

Revision 89121 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 26 13:56:05 2020 UTC (4 years, 11 months ago) by ivanov
File length: 15461 byte(s)
Diff to previous 89044
Reimplement API to use single reporting thread and queue for jobs awaiting reporting.
Remove unused "move" semantics from classes, all parameters and jobs now copied by defaut.
Split old Wait() implementation to Wait() and Finish(), so it is possible to wait or discard not sent yet reports.
Temporary define NCBI_USAGE_REPORT_SUPPORTED on all platforms to test, new version should works on older GCC compilers now.
JIRA:CXX-10800

Revision 89044 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 14 15:28:41 2020 UTC (4 years, 11 months ago) by ivanov
File length: 14040 byte(s)
Diff to previous 88676
Drop synchronous reporting, use async only. 
Rename protecting macro to NCBI_USAGE_REPORT_SUPPORTED. 
JIRA:CXX-10800

Revision 88676 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 6 18:30:23 2020 UTC (5 years ago) by ivanov
File length: 14653 byte(s)
Diff to previous 88666
Disable async calls on GCC < 7.0  Not sure about 6.x, but 5.3 and 5.4 have problems 
with std::thread and doesn't support async handlers with arguments (at least as class method).
JIRA:CXX-10800

Revision 88666 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 6 13:30:36 2020 UTC (5 years ago) by ivanov
File length: 14442 byte(s)
Diff to previous 88632
JIRA:CXX-10800
- drop GetOS() and GetHost() from the API;
- move global parameters to USAGE_REPORT section;
- add template for CUsageReportParameters::Add();
- some cosmetics and fixed missprints.

Revision 88632 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 30 18:12:51 2019 UTC (5 years, 1 month ago) by ivanov
File length: 15652 byte(s)
Diff to previous 88630
Fixed compilation on Linux/GCC. JIRA:CXX-10800

Revision 88630 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Dec 30 15:50:47 2019 UTC (5 years, 1 month ago) by ivanov
File length: 15566 byte(s)
Usage information reporter, initial revision. JIRA:CXX-10800

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

NCBI Systems Team">NCBI Systems Team
ViewVC Help
Powered by ViewVC 1.1.20  

HHS Vulnerability Disclosure