Re: [linuxtools-dev] TMF tutorial NexusLite questions

2013-07-09 Thread Matthew Khouzam
Hey Salman, // we won't get overflow with these values // this will give a nice gaussian value; int step = 1; for (int j = 0; j < 50; j++) { if (rnd.nextBoolean()) { step++; } } I wante

[linuxtools-dev] TMF tutorial NexusLite questions

2013-07-08 Thread sa_hosei
Hello I'm new to TMF framework, I started with reading the tutorial and I downloaded the code for NexusLite trace type. in the file, MakeMeNexus there is a for loop which executes 50 times. what does this for do? second, the what is the scemantics behind the shifting operations in the met