Results 1 to 3 of 3

Thread: Monotonic Timer in ICE for .NET

  1. #1
    kwaclaw is offline Registered User
    Name: Karl Waclawek
    Organization: Personal
    Project: Whiteboard application
    Join Date
    Sep 2004
    Location
    Oshawa, Canada
    Posts
    159

    Monotonic Timer in ICE for .NET

    I was just checking how to build a managed version of ICE for .NET, and looked through the places in the code that were conditional on the MANAGED macro.

    The managed code in Time.cs uses DateTime.Now.Ticks, whereas the unmanaged code uses QueryPeformanceCounter.

    Just wanted to point out that System.Diagnostics.Stopwatch would be the managed equivalent to QueryPeformanceCounter:
    Stopwatch Class (System.Diagnostics)

    Karl
    Karl Waclawek

  2. #2
    michi's Avatar
    michi is offline Registered User
    Name: Michi Henning
    Organization: Triodia Technologies
    Project: I have a passing interest in Ice :-)
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    1,055
    Hi Karl,

    we'll have a look at whether this would be a suitable replacement.

    Thanks,

    Michi.

  3. #3
    michi's Avatar
    michi is offline Registered User
    Name: Michi Henning
    Organization: Triodia Technologies
    Project: I have a passing interest in Ice :-)
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    1,055
    Thanks for that Karl. This change will be includeded in Ice 3.3.

    Cheers,

    Michi.
    Last edited by michi; 04-03-2008 at 10:36 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Exceptions can escape from IceUtil::Timer::run
    By andy_84 in forum Bug Reports
    Replies: 1
    Last Post: 11-18-2010, 03:33 AM
  2. Using ICE in .NET 1.1 && .NET 2.0
    By dmitry.medvedev in forum Help Center
    Replies: 8
    Last Post: 01-27-2006, 03:48 AM
  3. using ice with C# on .Net 1.0
    By teayu in forum Help Center
    Replies: 4
    Last Post: 10-26-2004, 07:51 AM
  4. ice for .net
    By mse in forum Comments
    Replies: 1
    Last Post: 03-08-2004, 07:20 AM
  5. IceStorm/ Timer Service ideas
    By stephan in forum Help Center
    Replies: 5
    Last Post: 10-27-2003, 05:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •