Giter Site home page Giter Site logo

Comments (4)

ChrisCoe avatar ChrisCoe commented on September 17, 2024

A user could run something like date for UTC time so not sure why feature is needed in sockperf. Would date && <sockperf cmd> work for your case? Are you looking for date/time at a specific state of a run? If so, then a change like that could be useful.

from sockperf.

O-ring avatar O-ring commented on September 17, 2024

Hello Chris,

thanks for the response.

yes, I think it is useful that sockperf prints the date
and time of when the test is run. Sometimes I forget to
run 'date' and so I can't track back to when the test
was run.

For example 'iperf3' always prints date and time on
every test.

Marco

from sockperf.

ChrisCoe avatar ChrisCoe commented on September 17, 2024

Hi Maro,

Gotcha, sounds reasonable to me.

I can work on this so UTC date/time is present at the start of each run (whether client or server).
I'll try to get this in within a month from now (busy at the moment). Please feel free to jump in and make the change if you like.

My suggestion: Change should happen in src/sockperf.ccp, specifically right after line

log_msg(MAGNETA "== version #%s == " ENDCOLOR, VERSION);

This way the UTC time is printed out before server/client distinction is made.
Pseudo Code:

// Display UTC date and time 
 log_msg("<UTC TIME>");  

Example of current output where first line has version log: image

-Christian

from sockperf.

O-ring avatar O-ring commented on September 17, 2024

Hello Christian,

thanks for the response. I will wait for your update.

Marco

from sockperf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.