diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2018-01-25 09:57:02 -0500 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2018-01-25 09:57:02 -0500 |
| commit | 7e7723e98f1d9d9a6f85665cc87543e7e37ac47c (patch) | |
| tree | 88574aa4da3fe1ce588017d51491538863ed3d10 /node/RuntimeEnvironment.hpp | |
| parent | 4419734a7db21cd6a9ee8aba911f220cbecba085 (diff) | |
| download | infinitytier-7e7723e98f1d9d9a6f85665cc87543e7e37ac47c.tar.gz infinitytier-7e7723e98f1d9d9a6f85665cc87543e7e37ac47c.zip | |
A small memory use reduction.
Diffstat (limited to 'node/RuntimeEnvironment.hpp')
| -rw-r--r-- | node/RuntimeEnvironment.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/node/RuntimeEnvironment.hpp b/node/RuntimeEnvironment.hpp index 17170718..46350b4a 100644 --- a/node/RuntimeEnvironment.hpp +++ b/node/RuntimeEnvironment.hpp @@ -53,6 +53,7 @@ public: RuntimeEnvironment(Node *n) : node(n) ,localNetworkController((NetworkController *)0) + ,rtmem((void *)0) ,sw((Switch *)0) ,mc((Multicaster *)0) ,topology((Topology *)0) @@ -73,6 +74,9 @@ public: // This is set externally to an instance of this base class NetworkController *localNetworkController; + // Memory actually occupied by Trace, Switch, etc. + void *rtmem; + /* Order matters a bit here. These are constructed in this order * and then deleted in the opposite order on Node exit. The order ensures * that things that are needed are there before they're needed. |
