SpiNNFrontEndCommon 7.2.2
Common support code for user-facing front end systems.
Loading...
Searching...
No Matches
Functions | Variables
profiler.c File Reference

Implementation of profiler.h. More...

#include <stdint.h>
#include <debug.h>
#include <profiler.h>
#include <spinnaker.h>

Go to the source code of this file.

Functions

void profiler_init (uint32_t *data_region)
 Initialise the profiler from a SDRAM region.
 
void profiler_finalise (void)
 Finalises profiling.
 

Variables

struct profiler_state profiler_state
 The concrete profiler state.
 

Detailed Description

Implementation of profiler.h.

Definition in file profiler.c.

Function Documentation

◆ profiler_init()

void profiler_init ( uint32_t data_region)

Initialise the profiler from a SDRAM region.

Parameters
data_regionThe pointer to the region, which must be laid out according to the profiler_region structure.

Definition at line 34 of file profiler.c.

◆ profiler_finalise()

void profiler_finalise ( void  )

Finalises profiling.

This includes the potentially slow process of writing to profiler_region::count

Definition at line 51 of file profiler.c.

Variable Documentation

◆ profiler_state

The concrete profiler state.

Definition at line 29 of file profiler.c.