mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Divinglog import: add workload warning
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5bc4f974c5
commit
17bc868531
1 changed files with 8 additions and 0 deletions
|
@ -2909,6 +2909,14 @@ extern int divinglog_profile(void *handle, int columns, char **data, char **colu
|
|||
strcpy(cur_event.name, "violation");
|
||||
event_end();
|
||||
}
|
||||
|
||||
/* Workload warning */
|
||||
if (ptr[9] - '0') {
|
||||
event_start();
|
||||
cur_event.time.seconds = sinterval * i;
|
||||
strcpy(cur_event.name, "workload");
|
||||
event_end();
|
||||
}
|
||||
ptr += 12;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue