Table Of Contents

timerstop

Version:
    Last Modified: March 15, 2017

    Stops the stopwatch timer and outputs the elapsed time in seconds. Use timerstop with timerstart to determine the computation time of a specific code segment.

    Syntax

    timerstop(t)
    Legacy name: toc

    Inputs

    t

    Stopwatch timer which is returned by timerstart. t is a uint64.

    t = timerstart
    for i = 1:100000
        a = sqrt(2);
    end
    timerstop(t)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics