profiling.sc

profiling.sc

Module for profiling SecreC programs.

Functions:

endSection

End a profiling section.

Detailed Description

Parameters

section_id

- section identifier

Function Overloads

void endSection(uint32 section_id)

flushProfileLog

Flush profiling log.

Detailed Description

Function Overloads

void flushProfileLog()

newSectionType

Create a new profiling section.

Detailed Description

Parameters

name

- name of the section as it will appear in the profiling log

returns section type identifier

Function Overloads

uint32 newSectionType(string name)

startSection

Start a profiling section.

Detailed Description

Parameters

stype

- section type identifier

n

- size of the data processed in this section

returns section identifier

Function Overloads

uint32 startSection(uint32 stype, uint n)