diff options
| author | Nils Maier <maierman@web.de> | 2013-11-26 02:59:51 +0100 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2013-12-09 15:41:43 +0100 |
| commit | 2db0c81fc8067d73230fcbffc90bd7ad1f9c07b0 (patch) | |
| tree | a6c37eaa4de5ef4c8b4e982cb7d87c1f6ac5bf3b /src/TimeBasedCommand.h | |
| parent | 1323048ab1a254510e32d47f5549f4e30d273e5a (diff) | |
Stuff memory holes
Padding changes on x86_64:
- RequestGroup: 29 -> 5 bytes
- DownloadContext: 25 -> 1 bytes
- Cookie: 20 -> 4 bytes
- Command: 8 -> 0 bytes (affects many derived as well)
- HttpRequest: 20 -> 4 bytes
- DownloadCommand: 18 -> 2 bytes
- TimeBasedCommand: 14 -> 6 bytes
- AbstractCommand: 13 -> 5 bytes
- HttpSkipResponseCommand: 12 -> 4 bytes
- FileEntry: 10 -> 2 bytes
- DownloadResult: 15 -> 7 bytes
- UriStruct: 12 -> 4 bytes
- Piece: 11 -> 3 bytes
- BitfieldMan -> 11 -> 3 bytes
Diffstat (limited to 'src/TimeBasedCommand.h')
| -rw-r--r-- | src/TimeBasedCommand.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/TimeBasedCommand.h b/src/TimeBasedCommand.h index 229c8ff8..7b26c93b 100644 --- a/src/TimeBasedCommand.h +++ b/src/TimeBasedCommand.h @@ -47,6 +47,10 @@ class TimeBasedCommand : public Command private: DownloadEngine* e_; + Timer checkPoint_; + + time_t interval_; // unit: sec + /** * setting exit_ to true if this command's job has finished and you want to * delete this command. @@ -56,11 +60,8 @@ private: */ bool exit_; - time_t interval_; // unit: sec - bool routineCommand_; - Timer checkPoint_; protected: DownloadEngine* getDownloadEngine() const { |
