2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 09:58:09 +00:00
criu/protobuf/timer.proto
Pavel Emelyanov b54e340945 core: Move posix timers on core entry
This as well gives us minus one image per-task and
allocates more space on core task entry.

One thing to note -- the amount of posix timers is
not easily accessible at the core entry allocation
time, so the respective array is allocated on demand.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2014-04-17 12:00:54 +04:00

28 lines
664 B
Protocol Buffer

message itimer_entry {
required uint64 isec = 1;
required uint64 iusec = 2;
required uint64 vsec = 3;
required uint64 vusec = 4;
}
message posix_timer_entry {
required uint32 it_id = 1;
required uint32 clock_id = 2;
required uint32 si_signo = 3;
required uint32 it_sigev_notify = 4;
required uint64 sival_ptr = 5;
required uint32 overrun = 6;
required uint64 isec = 7;
required uint64 insec = 8;
required uint64 vsec = 9;
required uint64 vnsec = 10;
}
message task_timers_entry {
required itimer_entry real = 1;
required itimer_entry virt = 2;
required itimer_entry prof = 3;
repeated posix_timer_entry posix = 4;
}