Skip to content

TEE_GetSystemTime invalid time #315

@jdeus

Description

@jdeus

On rpi3 with the default governor (powersave), The results of seconds of a TEE_Time passed to TEE_GetSystemTime must be divided by 10 to obtain a valid result.

Example:

TEE_Time startt, stopt;

TEE_GetSystemTime(&startt);
(...)
TEE_GetSystemTime(&stopt);

IMSG("%d.%d", startt.seconds, startt.millis);
IMSG("%d.%d", stopt.seconds, stopt.millis);

Produces:

I/TA: 2831.571
I/TA: 2929.64

While only ~9 seconds have elapsed.

Expected:

I/TA: 283.1571
I/TA: 292.964

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions