mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
Read time config from config file
This commit is contained in:
parent
de5fbef9d9
commit
54ce3b02c8
7 changed files with 85 additions and 11 deletions
|
|
@ -28,8 +28,14 @@ struct probe_metric_s {
|
|||
int min_probe_count;
|
||||
};
|
||||
|
||||
struct time_config_s {
|
||||
time_t update_client;
|
||||
time_t remove_client;
|
||||
time_t remove_probe;
|
||||
};
|
||||
|
||||
#define SORT_NUM 5
|
||||
#define TIME_THRESHOLD 30 // every minute
|
||||
#define TIME_THRESHOLD 120 // every minute
|
||||
|
||||
// Probe entrys
|
||||
typedef struct probe_entry_s {
|
||||
|
|
|
|||
|
|
@ -3,4 +3,6 @@
|
|||
|
||||
struct probe_metric_s uci_get_dawn_metric();
|
||||
|
||||
struct time_config_s uci_get_time_config();
|
||||
|
||||
#endif //DAWN_UCI_H_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue