GNU Radio C++ API Reference
3.10.12.0
The Free & Open Software Radio Ecosystem
Loading...
Searching...
No Matches
realtime.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2006,2013 Free Software Foundation, Inc.
4
*
5
* This file is part of GNU Radio
6
*
7
* SPDX-License-Identifier: GPL-3.0-or-later
8
*
9
*/
10
11
#ifndef INCLUDED_GR_REALTIME_H
12
#define INCLUDED_GR_REALTIME_H
13
14
#include <
gnuradio/api.h
>
15
16
namespace
gr
{
17
18
typedef
enum
{
RT_OK
= 0,
RT_NOT_IMPLEMENTED
,
RT_NO_PRIVS
,
RT_OTHER_ERROR
}
rt_status_t
;
19
20
enum
rt_sched_policy
{
21
RT_SCHED_RR
= 0,
// round robin
22
RT_SCHED_FIFO
= 1,
// first in first out
23
};
24
25
/*!
26
* \brief If possible, enable high-priority "real time" scheduling.
27
* \ingroup misc
28
*/
29
GR_RUNTIME_API
rt_status_t
enable_realtime_scheduling
();
30
31
}
/* namespace gr */
32
33
#endif
/* INCLUDED_GR_REALTIME_H */
api.h
GR_RUNTIME_API
#define GR_RUNTIME_API
Definition
gnuradio-runtime/include/gnuradio/api.h:18
gr::enable_realtime_scheduling
GR_RUNTIME_API rt_status_t enable_realtime_scheduling()
If possible, enable high-priority "real time" scheduling.
gr
GNU Radio logging wrapper.
Definition
basic_block.h:29
gr::rt_status_t
rt_status_t
Definition
realtime.h:18
gr::RT_OK
@ RT_OK
Definition
realtime.h:18
gr::RT_OTHER_ERROR
@ RT_OTHER_ERROR
Definition
realtime.h:18
gr::RT_NO_PRIVS
@ RT_NO_PRIVS
Definition
realtime.h:18
gr::RT_NOT_IMPLEMENTED
@ RT_NOT_IMPLEMENTED
Definition
realtime.h:18
gr::rt_sched_policy
rt_sched_policy
Definition
realtime.h:20
gr::RT_SCHED_FIFO
@ RT_SCHED_FIFO
Definition
realtime.h:22
gr::RT_SCHED_RR
@ RT_SCHED_RR
Definition
realtime.h:21
gnuradio-runtime
include
gnuradio
realtime.h
Generated by
1.9.8