Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 12:32:13 +0000



[Programming Help] - Recalculation time measurement

View Count: 252

[2023-11-29 06:08:55]
jeden8l - Posts: 47
Hi.

I'm looking for ideas to measure the time needed to recalculate the chart.

Let's say I have 10 studies applied to the chart.
I change their settings and run 'recalculate'.
I need a microsecond time value it took.

Is writing an ACSIL script using chrono library a good idea or there is something better?
[2023-11-29 09:07:54]
User431178 - Posts: 543
There is an ACSIL variable sc.LastFullCalculationTimeInMicroseconds, maybe that does what you need already?

ACSIL Interface Members - Variables and Arrays: sc.LastFullCalculationTimeInMicroseconds
[2023-11-29 11:11:04]
jeden8l - Posts: 47
User431178
Yes, this is exactly what I need. I didn't notice it myself, thank you!

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account