package MP.Serialization;

message TaskEvent
{
	required uint32 id = 1;
	required string name = 2;
	required uint32 threadId = 3;
	required uint64 time = 4;
	required uint32 priority = 5;
	
	enum EventType
	{
		STARTED = 0;
		ENDED = 1;
	}
	
	required EventType type = 6;
	required uint64 createTime = 7;
}

message ThreadInfo
{
	required string version = 1;
	required uint32 main = 2;
	repeated uint32 workers = 3;
}