greenhouse
|
#include "Thread.h"
#include "mbed.h"
#include "tasks/stats_task.h"
#include "ui.h"
#include <cstdio>
Go to the source code of this file.
Macros | |
#define | SAMPLE_TIME_MS 1000 |
#define | MAX_THREAD_STACK 384 |
Functions | |
void | collect_stats () |
Variables | |
UI::Display * | _display |
EventQueue * | stats_queue = mbed_event_queue() |
int | _thread_id |
Thread * | _thread |
#define MAX_THREAD_STACK 384 |
Definition at line 10 of file stats_task.cpp.
#define SAMPLE_TIME_MS 1000 |
Definition at line 9 of file stats_task.cpp.
void collect_stats | ( | ) |
Definition at line 21 of file stats_task.cpp.
References _display, SAMPLE_TIME_MS, and UI::Display::update_stats().
Referenced by Tasks::Stats::start().
UI::Display* _display |
Definition at line 12 of file stats_task.cpp.
Referenced by collect_stats(), and Tasks::Stats::setDisplay().
Thread* _thread |
Definition at line 15 of file stats_task.cpp.
Referenced by Tasks::Stats::start(), and Tasks::Stats::stop().
int _thread_id |
Definition at line 14 of file stats_task.cpp.
Referenced by Tasks::Stats::start().
EventQueue* stats_queue = mbed_event_queue() |
Definition at line 13 of file stats_task.cpp.
Referenced by Tasks::Stats::start().