comparison fake-data-provider.c @ 126:5bba1d1c3b46

Produce realistic data from fake data provider
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Fri, 13 Dec 2013 17:03:36 +0100
parents 6fd67aa13d10
children 931ebae87964
comparison
equal deleted inserted replaced
125:37535873ee83 126:5bba1d1c3b46
10 { 10 {
11 int mainThreadId; 11 int mainThreadId;
12 double mark; 12 double mark;
13 struct event event = { 13 struct event event = {
14 .time = { 0, }, 14 .time = { 0, },
15 .data = { 1000.0, 2.0, 3.0, 4.0 } 15 .data = { 55000000.0, 2.0, 3.0, 4.0 }
16 }; 16 };
17 17
18 /* get main thread id to post messages to it */ 18 /* get main thread id to post messages to it */
19 mainThreadId = CmtGetMainThreadID(); 19 mainThreadId = CmtGetMainThreadID();
20 20