Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Netduino Stopwatch Equivilent


  • Please log in to reply
4 replies to this topic

#1 kneave

kneave

    New Member

  • Members
  • Pip
  • 9 posts

Posted 16 March 2011 - 11:47 PM

Howdy, I'm looking for a simple way of benchmarking the time a given block of code takes to execute on the Netduino. In the .NET Framework we have the Stopwatch class which allows for accurate measurement of elapsed time. I'm new to the .NET Micro framework and the Netduino and I was wondering what options are available for similar functionality. Ideally I was hoping for something similar such that I could start a stopwatch and send the output via Debug.Print(). If anyone could point me in the right direction I'd greatly apprecaite it. Thanks, Jason

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 17 March 2011 - 12:05 AM

Hi Jason, Does this meet your needs? Welcome to the Netduino community, Chris

#3 kneave

kneave

    New Member

  • Members
  • Pip
  • 9 posts

Posted 17 March 2011 - 07:31 AM

Perfect! Thanks Chris. Regards, Jason

#4 Tayfun

Tayfun

    New Member

  • Members
  • Pip
  • 2 posts

Posted 07 February 2012 - 01:58 PM

Indeed, very good !

#5 Gilberto Garcia

Gilberto Garcia

    New Member

  • Members
  • Pip
  • 8 posts

Posted 20 March 2012 - 01:11 PM

Nice Job! Thank you!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.