how do i measure how much time takes a java instruction to get done?
92706
There are three ways to interpret your question.\n\nIf you are looking into this timing for the purposes of code optimization, there are many profiling tools for this purpose.  If your JVM includes HotSpot (it probably does), you can use the built in profiler by using the command line argument, "-Xprof" (case sensitive, without quotes).\n\nIf you are trying to determine how long a specific function takes to run, you can use some sort of stopwatch tool.  See Sources for an example.\n\nIf you are trying to determine how long a specific instruction takes to run, you can still use a stopwatch tool, so long as you run the instruction many times in a loop and also run an empty loop (with the same number of iterations) to check the time used for things other than the instruction.  You can (and probably should) also try looking up benchmarking information on the internet.  I leave that as something for you or another answer to do.\n\nBe aware that all three of these issues are very much system dependent.  For best results, do tests on multiple systems and OSs, depending on where your future applications will be deployed.
624105
Slightly over eight minutes.\n\nTo be exact look up on Internet\n\nBest Regards
1014632
chigidem, armen jan. :-p\n\nThis is why I've created my own language and compiling system. Sure, it took a TON of work at first... but in the end, I ended up doing menial tasks in seconds instead of minutes or hours. :-p
250990
The problem with calculating running time of an algorithm is that there are so many variables which affect running time (far beyond just cpu speed and RAM size).  It is impossible to come up with a accurate calculation from these variables.\n\nBig O is useful because it calculates relative effeciency, regardless of hardware outside conditions, and size of test data.\n\nIn order to come up with actual numbers, the ONLY accurate way is to actually run the algorithm and time it.
418748
reaction and operation time of a task < allowed delay\n\nnot only how fast can it be done, but can it be done as specific times and can these time be accurately reported.\n\n\nis buffering or queuing of data possible.\nmulti-tasking/priority (can not do everything at same time)
304489
instead of wasting my fingers typing the answers - all the info you may need is listed here\nhttp://java.ittoolbox.com/topics/t.asp?t=366&p=366&h1=366
342178
Try apache axis. You can use this tool for both client and server code.
1078970
use jasperreports these are free and best\n\nget it from sourceforge.org
133140
59 seconds... that is an easy one :)
99463
Not a solution for the exact problem but my help you from having to end task the process.\n\nPress Ctrl-R and type in regedit and enter\n\nGo to HKEY_Current_User ---> Control Panel --> Desktop and then look for WaitToKillAppTimeout in the right-hand pane.\n\nDouble click on that and enter in 5000 instead of 20000.\n\n1000 = 1 second; So it was at 20 seconds and now Windows will only wait 5 until it decides to automatically end task the program.\n\nWARNING: Be careful in the registry and don't edit anything you know nothing about or your computer might just not turn on the next time you need it to.
480612
as feisty said , try to count to 100 , estimate time
58190
There is a logical way to go about debugging a program.  See the link.\n\nSince I don't know Java, this is the best I can do.
90440
int main()\n{\nint minutes,hours;\nprintf("Enter the number of minutes /n");\nscanf("%d",&minutes);\n\nhours=minutes%60;\nminutes=minutes-(60*hours);\n\nprintf("Time is %d hours and %d minutes",hours,minutes);\n}
29302
The system clock is set thru BIOS.  Therefore, you'll have to run an external command to set the clock.  \n\nString cmd="time 11:30:00";\nProcess proc = Runtime.getRuntime().exec(cmd);\n\nYou will have to make sure the 'command' is correct; my example is just a guess.
59731
Try the Java reference library.  Here is a link to it online:
800542
You could use GetTickCount\n\n'Put this in a module\nDeclare Function GetTickCount Lib "kernel32" () As Long\n\n'Use something like this in a form\nDim starttime As Long\nDim endtime As Long\n\nPrivate Sub CommandButton1_Click()\n\nstarttime = GetTickCount()\nEnd Sub\n\nPrivate Sub CommandButton2_Click()\nendtime = GetTickCount()\n\nMsgBox (endtime - starttime) / 1000 & " secs"\n\nEnd Sub
999984
5 minutes... and counting