sPyNNaker neural_modelling 7.1.1
Loading...
Searching...
No Matches
local_only.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 The University of Manchester
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * https://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
19#ifndef __LOCAL_ONLY_H__
20#define __LOCAL_ONLY_H__
21
23
24//: Provenance data for local-only processing
35
46bool local_only_initialise(void *local_only_addr, void *local_only_params_addr,
47 uint32_t n_rec_regions_used, uint16_t **ring_buffers);
48
53void local_only_clear_input(uint32_t time);
54
60
61#endif
static weight_t * ring_buffers
The ring buffers to be used in the simulation.
Definition c_main.c:118
void local_only_clear_input(uint32_t time)
Clear the spikes for the last time step.
Definition local_only.c:218
uint32_t max_input_buffer_size
The maximum size of the spike input queue at any time.
Definition local_only.h:33
void local_only_store_provenance(struct local_only_provenance *prov)
Store provenance gathered during run.
Definition local_only.c:234
uint32_t n_spikes_lost_from_input
The number of spikes dropped due to the queue having no space.
Definition local_only.h:31
bool local_only_initialise(void *local_only_addr, void *local_only_params_addr, uint32_t n_rec_regions_used, uint16_t **ring_buffers)
Set up local-only processing of spikes.
Definition local_only.c:164
uint32_t n_spikes_dropped
The number of spikes dropped due to running out of time in a time step.
Definition local_only.h:29
uint32_t max_spikes_received_per_timestep
The maximum number of spikes received in a time step.
Definition local_only.h:27
Data type definitions for SpiNNaker Neuron-modelling.