[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Cannot get 5.1 profiler to work
- From: "John Logsdon" <j.logsdon@...>
- Date: Mon, 10 Apr 2017 09:33:00 +0100
Sean and list
Ah - I suppose that was obvious really. Thanks - it worked.
Now to add yet another a TB disk!
> It was thus said that the Great John Logsdon once stated:
>>
>> I have added:
>>
>> require "profiler"
>> start()
>>
>> ...
>>
>> stop()
>>
>> to the program but it can't find the start() function:
>>
>> lua5.1: procStream1.lua:11: attempt to call global 'start' (a nil value)
>> stack traceback:
>> procStream1.lua:11: in main chunk
>> [C]: ?
>>
>> which sugggests that it hasn't loaded anything at all.
>
> Try using
>
> require "profiler"
> profiler.start()
> ...
> profiler.stop()
>
> -spc
>
>
Best wishes
John
John Logsdon
Quantex Research Ltd
+44 161 445 4951/+44 7717758675