mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
Fix gc_basic_stats_finish
This commit is contained in:
parent
9176aa650f
commit
2cab526963
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ static inline void gc_basic_stats_live_data_size(void *data, size_t size) {
|
|||
|
||||
static inline void gc_basic_stats_finish(struct gc_basic_stats *stats) {
|
||||
uint64_t now = gc_basic_stats_now();
|
||||
stats->elapsed_mutator_usec += stats->last_time_usec - now;
|
||||
stats->elapsed_mutator_usec += now - stats->last_time_usec;
|
||||
stats->last_time_usec = now;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue