NewMadeleine

Documentation

« back to PM2 home.
nm_sampling.h
Go to the documentation of this file.
1/*
2 * NewMadeleine
3 * Copyright (C) 2006-2023 (see AUTHORS file)
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or (at
8 * your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 */
15
16#ifndef NM_PREDICTIONS_H
17#define NM_PREDICTIONS_H
18
20extern int nm_ns_update(struct nm_core *p_core, nm_drv_t p_drv);
21extern int nm_ns_exit(struct nm_core *p_core);
22
23extern int nm_ns_dec_bws(struct nm_core *p_core, nm_drv_t const**p_drvs, int*nb_drvs);
24extern int nm_ns_inc_lats(struct nm_core *p_core, nm_drv_t const**p_drvs, int*nb_drvs);
25
27 int*nb_chunks, struct nm_rdv_chunk_s*p_chunks);
28
29#endif
static nm_gate_t p_gate
uint16_t len
chunk len
Definition nm_headers.h:0
int nm_ns_inc_lats(struct nm_core *p_core, nm_drv_t const **p_drvs, int *nb_drvs)
int nm_ns_update(struct nm_core *p_core, nm_drv_t p_drv)
int nm_ns_exit(struct nm_core *p_core)
int nm_ns_multiple_split_ratio(nm_len_t len, struct nm_core *p_core, struct nm_gate_s *p_gate, int *nb_chunks, struct nm_rdv_chunk_s *p_chunks)
int nm_ns_dec_bws(struct nm_core *p_core, nm_drv_t const **p_drvs, int *nb_drvs)
uint64_t nm_len_t
data length used by nmad
Definition nm_types.h:68
Core NewMadeleine structure.
Definition nm_core.h:43
a driver.
Definition nm_drv.h:35
Connection to another process.
Definition nm_gate.h:104
a chunk of rdv data.
Definition nm_tactics.h:89