Skip to content

Commit afdeafd

Browse files
committed
microsecond timestamp is added
1 parent 630aac6 commit afdeafd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

include/ejudge/runlog_state.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#ifndef __RUNLOG_STATE_H__
33
#define __RUNLOG_STATE_H__
44

5-
/* Copyright (C) 2008-2022 Alexander Chernov <[email protected]> */
5+
/* Copyright (C) 2008-2023 Alexander Chernov <[email protected]> */
66

77
/*
88
* This program is free software; you can redistribute it and/or modify
@@ -87,6 +87,9 @@ struct runlog_state
8787
RUNS_ACCESS int run_a;
8888
teamdb_state_t teamdb_state;
8989

90+
// timestamp of the last change with microsecond precision
91+
long long last_update_time_us;
92+
9093
struct user_flags_info_s user_flags; // banned/invisible/locked flags for users
9194

9295
int max_user_id;

0 commit comments

Comments
 (0)