Results 1 to 3 of 3

Thread: how to measure the duration of process

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2015
    Posts
    3

    how to measure the duration of process

    i wanna make a program that can measure how long it takes to a process a gauss jordan matrix in a various size.example
    how long it takes to process a 30x30 or how long it takes to process a 50x50.so how to measure the duration of process?

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    39,038

    Re: how to measure the duration of process

    You want the Stopwatch object. It has the typical Start and Stop, along with a variety of things. You can see either elapsed milliseconds or ticks, and so forth.
    My usual boring signature: Nothing

  3. #3
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: how to measure the duration of process

    There is no consideration for time of sunrise in the stopwatch class.

    Not sure if you need that

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

Posting Permissions

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



Click Here to Expand Forum to Full Width