now measuring both time when data comes in and when data goes out
Merge pull request #12 from AlexandreBeaulne/dev

now measuring both time when data comes in and when data goes out