Quantcast
Channel: First steps - JuliaLang
Viewing all articles
Browse latest Browse all 2795

TimerOutputs.jl

$
0
0

@erlebach wrote:

I am trying to time a piece of code. Here is a MWE:

using TimerOutputs

function x()
    @timeit to "Timing" a = 3 + 4
end

x()

I get the error: “to” is not defined. What is my error? Thanks.

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 2795

Trending Articles