On Tossim you cannot do that, because it's a DES simulator. That is, all tasks execute in 0 sim_time. On the telosb, you can use Msp430CounterMicroC. It's documented in TEP 102.
Janos On Mon, Jun 15, 2009 at 11:56 AM, chikh omar<[email protected]> wrote: > I am using TOSSIM and then Telosb > > > ********************************************** > Omar Cheikhrouhou > Engineer & Researcher @SENS Lab (Software Engineering and Network Security) > Higher Institute of Technological Studies - Address : Mahdia's road Km 2.5 > Sfax. BP 88 A - 3099 El Bustan Sfax Telephone : (+216)74 237425 Poste : > 437 Fax: : (+216)74 431 386 > > Ph.D @ CES Lab (Computer and Embedded System)-University of Sfax, National > School of Engineers BP W, Sfax, 3038, Tunisia , Fax:(+216)74665369 > > Coordinator C2i @ ISET Sfax (Certified C2i since 2008) > > ________________________________ > De : Janos Sallai <[email protected]> > À : chikh omar <[email protected]>; tinyos forum > <[email protected]> > Envoyé le : Lundi, 15 Juin 2009, 15h31mn 05s > Objet : Re: [Tinyos-help] how to measure time execution in Microseconde in > T2 > > It is hardware specific. What platform do you have? > > Janos > > On Mon, Jun 15, 2009 at 8:52 AM, chikh omar<[email protected]> wrote: >> hello, >> Did any body know how to measure time execution in Microseconde in T2? >> >> Thanks in advance >> >> ********************************************** >> Omar Cheikhrouhou >> Engineer & Researcher @SENS Lab (Software Engineering and Network >> Security) >> Higher Institute of Technological Studies - Address : Mahdia's road Km 2.5 >> Sfax. BP 88 A - 3099 El Bustan Sfax Telephone : (+216)74 237425 Poste >> : >> 437 Fax: : (+216)74 431 386 >> >> Ph.D @ CES Lab (Computer and Embedded System)-University of Sfax, National >> School of Engineers BP W, Sfax, 3038, Tunisia , Fax:(+216)74665369 >> >> Coordinator C2i @ ISET Sfax (Certified C2i since 2008) >> >> _______________________________________________ >> Tinyos-help mailing list >> [email protected] >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> > > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
