1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00
Files
mariadb/plugin
Vladislav Vaintroub 0579ceb68d MDEV-37187 hashicorp plugin: avoid expensive clock() in hot path
The plugin used clock() only to timestamp cache entries and measure
elapsed time against millisecond timeouts. As shown in MDEV-12345,
clock() is prohibitively expensive, and we do not need per-thread or
per-process CPU time here, only time differences.

Replace clock()/clock_t with the monotonic std::chrono::steady_clock.
Timeouts are kept as std::chrono::milliseconds
2026-06-30 12:19:26 +03:00
..
2025-01-08 12:51:26 +02:00
2024-11-29 12:37:46 +02:00
2026-01-28 14:22:20 +01:00
2024-02-01 18:36:14 +01:00
2024-06-27 10:26:09 +03:00
2026-01-28 14:22:20 +01:00
2024-01-18 19:22:23 +02:00
2022-10-02 14:38:13 +02:00