Questions tagged [elapsedtime]

The time that elapses while some event is occurring.

Elapsed time is the time or difference between a beginning time and an ending time.

196 questions
3
votes
0 answers

PHP datetime to time elapsed since date time

I have this code in PHP: $Date = date("F j, Y \a\t g:i a"); Where when the user posts something, the date would be set to Month (F) Day (J) and Year (Y) of when the posted. This is an example of the code above, executed: January 21, 2015…
yaman
  • 47
  • 3
3
votes
2 answers

GL_TIME_ELAPSED equivalent for OpenGL ES (2 or 3)

I'm interested in the amount of time it takes the OpenGL ES server to asynchronously run some sequence of commands. The way you solve this with regular OpenGL is to create a query object with the target GL_TIME_ELAPSED; however, OpenGL ES doesn't…
Litherum
  • 22,564
  • 3
  • 23
  • 27
3
votes
1 answer

What is the appropriate initial value for a ElapsedTime Performance Counter?

What is the proper initial value for an ElapsedTime performance counter? When my app starts up I am setting the .RawValue of the performance counter instance to 0 but that is not correct. It looks like it needs to be based on the current time but…
Eric Schoonover
  • 47,184
  • 49
  • 157
  • 202
3
votes
6 answers

Converting elapsed milliseconds into proper java date format?

I stuck up in the middle of my development, I have requirement in such a way that i need to find the delay between two dates ie.. currentdate-date from database and i need to display the delay in the format of dd:hh:mm . After referring lot of…
Esh
  • 836
  • 5
  • 16
  • 43
2
votes
1 answer

Display elapsed time with month an day support in JAVA

I need to display elapsed time in my application form. I currently do this using this code: AppTimer = new Timer(); AppTimer.scheduleAtFixedRate(new java.util.TimerTask() { SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss"); …
Ariyan
  • 14,760
  • 31
  • 112
  • 175
2
votes
1 answer

Getting elapsed time from a video at each frame in Python openCV

I have a video file that I'm doing image processing on. However I need the time elapsed at each frame. So far I have frames = camera.get(cv2.CAP_PROP_FRAME_COUNT) fps = camera.get(cv2.CAP_PROP_FPS) seconds_per_frame = fps/frames counter = 0 while…
cooldecola
  • 118
  • 7
2
votes
2 answers

timespec on windows compilers

On posix it is possible to use timespec to calculate accurate time length (like seconds and milliseconds). Unfortunately I need to migrate to windows with Visual Studio compiler. The VS time.h library doesn't declare timespec so I'm looking for…
PLS
  • 231
  • 2
  • 6
  • 14
2
votes
0 answers

How to measure time elapsed, immune to system time server automatic updates

My servers and desktops are configured to automatically adjust their time via network ntp time servers. This means that if I use the easy method beginDate.getTime()-new Date().getTime(), there is a chance I'm not getting an accurate number of…
Andrew Parks
  • 6,358
  • 2
  • 12
  • 27
2
votes
4 answers

How to convert Jira elapsed time format into just minutes in an Excel formula?

I've been given an Excel spreadsheet with a "Time Spent" column that has values in the standard Jira time tracking format, splitting into days, hours and minutes: Time Spent (Jira format) ------------------------ 1d 7h 30m 30m 20d 5m It can't be…
Steve Chambers
  • 37,270
  • 24
  • 156
  • 208
2
votes
1 answer

Elapsed Timer not starting

I am building an elapsed timer and while the code gives no errors the timer does not start. I am using two ViewControllers, one called Stopwatch which has the start stop function in it under the class Stopwatch() and then a regular ViewController…
user9611921
2
votes
2 answers

How to get time elapsed from starting date to an end date C#

I'm trying to get the time elapsed from a starting date to an end date in C# Assuming that my start date is "11/19/2017 05:50 P.M." and the end date is "11/19/2017 05:55 P.M." get the time elapsed, in this case was 5:00 minutes. But also would like…
2
votes
1 answer

Is there any way reduce the I/O wait times in linux jobs?

I am running a multiple parallel file handling process (minimum 200 processes) where each process is reading a logs of varying size(0-50mb) to capture a real time data of the logs .I am running my jobs on 16 cores and 8 gb ram Linux machine. But…
vikas chib
  • 83
  • 8
2
votes
2 answers

How much time it will take to train with sample data(toy sample data) for tensorflow textsum?

I am working on tensorflow's textsum (text summarization model). I have put it on run to train the model with the sample data i.e. toy dataset provided with the model while cloning from git. I wanted to know that how much time it will take to train…
Kajal Kodrani
  • 21
  • 1
  • 3
2
votes
1 answer

Why the elapsed time increases while the number of core increases?

I am doing the multi-core computing in R. I am Here are the code and outputs for each of the computation. Why the elapsed time increases as the number of cores increases? This is really counter-intuitive. I think it is reasonable that the elapsed…
Shijia Bian
  • 189
  • 6
2
votes
1 answer

How to get the elapsed time of a bunch of PBS Torque jobs?

I'm using PBS Torque to run multiple jobs. The idea is simple, each job works on a shunk of data. The PBS_Torque job_script to launch a job is called run_appli.sh Here is the simple code (code 1) to launch 10 jobs for i in 1 2 3 4 5 6 7 9 10 do;…
1 2
3
13 14