MarcoFalke
|
fad7af700e
|
Use steady clock for logging timer
|
2023-01-31 18:48:50 +01:00 |
|
Hennadii Stepanov
|
306ccd4927
|
scripted-diff: Bump copyright headers
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
Commits of previous years:
- 2021: f47dda2c58
- 2020: fa0074e2d8
- 2019: aaaaad6ac9
|
2022-12-24 23:49:50 +00:00 |
|
Hennadii Stepanov
|
1633f5ec88
|
util, refactor: Add UNIQUE_NAME helper macro
This change replaces repetitive code with a helper macro.
|
2022-02-16 14:59:20 +02:00 |
|
Hennadii Stepanov
|
f47dda2c58
|
scripted-diff: Bump copyright headers
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
Commits of previous years:
* 2020: fa0074e2d8
* 2019: aaaaad6ac9
|
2021-12-30 19:36:57 +02:00 |
|
Jon Atack
|
ec65bed00e
|
log, timer: add LOG_TIME_MILLIS_WITH_CATEGORY_MSG_ONCE macro
that prints the descriptive message when logging the start
but not when logging the completion.
|
2021-10-05 17:28:02 +02:00 |
|
Jon Atack
|
325da75a53
|
log, timer: allow not repeating log message on completion
|
2021-10-05 17:27:54 +02:00 |
|
Martin Ankerl
|
f530202353
|
Make unexpected time type in BCLog::LogMsg() a compile-time error
|
2021-09-07 19:19:31 +02:00 |
|
Jon Atack
|
498b323425
|
log, timer: improve BCLog::LogMsg()
- make timer code more homogeneous
- replace division with multiplication
- log if the time type is unexpected
|
2021-09-07 00:37:39 +02:00 |
|
Jon Atack
|
3f4c6b87f1
|
log, timer: add timing macro in usec LOG_TIME_MICROS_WITH_CATEGORY
and update BCLog::LogMsg() to omit irrelevant decimals for microseconds
and skip unneeded code and math.
|
2021-09-01 15:12:52 +02:00 |
|
Ben Woosley
|
3a0fd7726b
|
Remove use of non-standard zero variadic macros
These are a gnu extension warned against by: gnu-zero-variadic-macro-arguments
|
2020-04-30 18:02:04 +08:00 |
|
Ben Woosley
|
49f6178c3e
|
Drop unused LOG_TIME_MICROS helper
|
2020-04-30 18:02:04 +08:00 |
|
MarcoFalke
|
fa488f131f
|
scripted-diff: Bump copyright headers
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
|
2020-04-16 13:33:09 -04:00 |
|
Ben Woosley
|
9b0e16226e
|
doc: Correct spelling errors in comments
And ci script output.
Identified via test/lint/lint-spelling
|
2020-03-02 23:07:21 -08:00 |
|
MarcoFalke
|
aaaaad6ac9
|
scripted-diff: Bump copyright of files changed in 2019
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
|
2019-12-30 10:42:20 +13:00 |
|
James O'Beirne
|
41edaf227a
|
logs: add BCLog::Timer and related macros
Makes logging timing information about a block of code easier.
|
2019-11-04 14:13:52 -05:00 |
|