MCPcopy Create free account
hub / github.com/SIPp/sipp / CallGenerationTask

Class CallGenerationTask

include/call_generation_task.hpp:40–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38#define DONT_RESCHEDULE 0
39
40class CallGenerationTask : public task {
41public:
42 static void initialize();
43 static void set_rate(double new_rate);
44 static void set_users(int new_users);
45 static void set_paused(bool paused);
46 static void free_user(int userId);
47
48 bool run();
49 void dump();
50
51protected:
52 unsigned int wake();
53
54private:
55 CallGenerationTask();
56 virtual ~CallGenerationTask();
57
58 static class CallGenerationTask *instance;
59 static unsigned long calls_since_last_rate_change;
60 static unsigned long last_rate_change_time;
61};
62
63#endif

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected