sPyNNaker neural_modelling 7.3.1
Loading...
Searching...
No Matches
spike_processing.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2015 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 */
16
19#ifndef _SPIKE_PROCESSING_H_
20#define _SPIKE_PROCESSING_H_
21
23#include <common/in_spikes.h>
24#include <spin1_api.h>
25
41
54 size_t row_max_n_bytes, uint mc_packet_callback_priority,
55 uint user_event_priority, uint incoming_spike_buffer_size,
56 bool clear_input_buffers_of_late_packets_init,
57 uint32_t packets_per_timestep_region);
58
62
66bool spike_processing_do_rewiring(int number_of_rewires);
67
71
72#endif // _SPIKE_PROCESSING_H_
uint32_t timer_t
Functions for immediate handling of incoming spikes.
Data type definitions for SpiNNaker Neuron-modelling.
uint32_t n_spikes_processed
The number of spikes received and processed.
bool spike_processing_do_rewiring(int number_of_rewires)
Set the number of times spike_processing has to attempt rewiring.
uint32_t n_input_buffer_overflows
A count of the times that the synaptic input circular buffers overflowed.
uint32_t n_rewires
The number of rewires performed.
bool spike_processing_initialise(size_t row_max_n_bytes, uint mc_packet_callback_priority, uint user_event_priority, uint incoming_spike_buffer_size, bool clear_input_buffers_of_late_packets_init, uint32_t packets_per_timestep_region)
Initialise the spike processing system.
void spike_processing_clear_input_buffer(timer_t time)
clears the input buffer of packets
uint32_t max_filled_input_buffer_size
The maximum size of the input buffer.
void spike_processing_store_provenance(struct spike_processing_provenance *prov)
Get provenance data for Spike processing.
uint32_t n_packets_dropped_from_lateness
The number of packets that were cleared at the end of timesteps.
uint32_t n_dmas_complete
The number of DMAs performed.
Provenance for spike processing.
unsigned int uint