hacking-tools-scripts icon indicating copy to clipboard operation
hacking-tools-scripts copied to clipboard

Check the timing of a program

Open yashaswibiyahut opened this issue 6 years ago • 13 comments

Check how long a program has been running and offer the user a chance to cancel tasks that are taking too long.

  • [x] C++
  • [ ] Javascript
  • [ ] Python

yashaswibiyahut avatar Oct 19 '20 11:10 yashaswibiyahut

Hi, @yashaswibiyahut I would like to work on this issue with Python. I will write the script for Windows OS.

AdityaJ7 avatar Oct 19 '20 13:10 AdityaJ7

Hi @yashaswibiyahut , could you be more specific like what kind of program are we talking of here? Is it the python script itself or are we trying to attach to a different process?

Nibba2018 avatar Oct 23 '20 21:10 Nibba2018

Python Script to check how long the task is running.

yashaswibiyahut avatar Oct 24 '20 06:10 yashaswibiyahut

@yashaswibiyahut , I am actually not clear which task we are talking about here. Can you give an example?

Nibba2018 avatar Oct 24 '20 09:10 Nibba2018

Execution time of task. You can use time function of time module.

yashaswibiyahut avatar Oct 26 '20 12:10 yashaswibiyahut

@yashaswibiyahut Ok I would like to work on this.

Nibba2018 avatar Oct 26 '20 13:10 Nibba2018

@yashaswibiyahut @tejan-singh Can I write a C++ script for the same?

TaniaMalhotra avatar Oct 28 '20 06:10 TaniaMalhotra

yes, you can do the same in C++.

tejan-singh avatar Oct 28 '20 20:10 tejan-singh

I would like to work on this one in python. Can I?

kuldip11 avatar Oct 29 '20 16:10 kuldip11

@kuldip11 issue has been submitted for python. You can work in C, java or javascript

tejan-singh avatar Oct 31 '20 14:10 tejan-singh

@tejan-singh , I would like to work on this in C.

Nibba2018 avatar Nov 02 '20 06:11 Nibba2018

Go for it @Nibba2018

yashaswibiyahut avatar Nov 02 '20 07:11 yashaswibiyahut

I would like to work on this in java

japneetkaurbhatia avatar Nov 03 '20 11:11 japneetkaurbhatia