File: timer.proto

package info (click to toggle)
golang-github-checkpoint-restore-go-criu 7.2.0%2Bds1-4
  • links: PTS, VCS
  • area: main
  • in suites: experimental, trixie
  • size: 1,796 kB
  • sloc: makefile: 231; ansic: 195; python: 137; sh: 110
file content (32 lines) | stat: -rw-r--r-- 756 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// SPDX-License-Identifier: MIT

syntax = "proto2";

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;
	optional int32		notify_thread_id= 11;
}

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;
}