search for: totaltime

Displaying 17 results from an estimated 17 matches for "totaltime".

2007 Jun 15
0
Question with nlm
...nlm to minimize my negative log likelihood function. What I did is as follows: My log likelihood function (it returns negative log likelihood) with 'gradient' attribute defined inside as follows: # ==========Method definition====================== logLikFunc3 <- function(sigma, object, totalTime) { y <- as.matrix(object at data$output[1:totalTime,1]); x <- as.matrix(object at data$input[1:totalTime,]); # compute necessary matrices M <- as.matrix(object at model$M); P <- diag(sigma*sigma); A <- AMatrix(totalTime, M, object at data$input[1:totalTime,]);...
2007 Oct 23
6
[PATCH][cpufreq] Xen support for the ondemand governor [1/2] (hypervisor code)
...atform_hypercall.c --- a/xen/arch/x86/platform_hypercall.c Wed Oct 17 13:12:03 2007 +0100 +++ b/xen/arch/x86/platform_hypercall.c Thu Oct 18 16:07:53 2007 -0500 @@ -295,14 +295,17 @@ ret_t do_platform_op(XEN_GUEST_HANDLE(xe { uint32_t i, nr_cpus; uint64_t idletime; + uint64_t totaltime; struct vcpu *v; XEN_GUEST_HANDLE(uint64_t) idletimes; + XEN_GUEST_HANDLE(uint64_t) totaltimes; ret = -ENOSYS; if ( cpufreq_controller != FREQCTL_dom0_kernel ) break; guest_from_compat_handle(idletimes, op->u.getidletime.idleti...
2007 Oct 23
2
[PATCH][cpufreq] Xen support for the ondemand governor [2/2] (linux)
...} load = (100 * (total_ticks - idle_ticks)) / total_ticks; + return load; +} +#else + +#include <xen/interface/platform.h> +static int dbs_calc_load(struct cpu_dbs_info_s *this_dbs_info) +{ + int load = 0; + struct xen_platform_op op; + uint64_t idletime[NR_CPUS]; + uint64_t totaltime[NR_CPUS]; + struct cpufreq_policy *policy; + unsigned int j; + + op.cmd = XENPF_getidletime; + op.u.getidletime.max_cpus = num_online_cpus(); + set_xen_guest_handle(op.u.getidletime.idletime, idletime); + set_xen_guest_handle(op.u.getidletime.totaltime, totaltime); +...
2007 Jan 19
4
Newbie question: Statistical functions (e.g., mean, sd) in a "transform" statement?
...48530 82.962916 10.20619 3 20.279220 10.33575 66.209290 30.71846 4 NA 53.31993 12.398237 35.65782 5 9.295965 NA 48.929201 NA 6 63.966518 42.16304 1.777342 NA one can use "transform" to total all or some columns, thus, times2 <- transform(times,totaltime=time1+time2+time3+time4) > times2 time1 time2 time3 time4 totaltime 1 70.408543 48.92378 7.399605 95.93050 222.6624 2 17.231940 27.48530 82.962916 10.20619 137.8863 3 20.279220 10.33575 66.209290 30.71846 127.5427 4 NA 53.31993 12.398237 35.65782 N...
2007 Feb 23
0
Formatting difftime objects
I like the new difftime functionality. Here's a dataframe of 5k run times: > r5k race date totaltime pace mile 1 RUDOLPH 2004-12-03 19:00:00 27.76667 mins 8.937224 mins 3.106856 2 RUDOLPH 2005-12-02 18:30:00 25.28333 mins 8.137916 mins 3.106856 3 FROSTBITE 2005-12-10 07:00:00 24.75000 mins 7.966253 mins 3.106856 4 JUDICATA 2006-03-04 08:00:00 25.51667 mins 8.213019 mins 3...
2006 Jun 30
0
sync reads or big files problem
...completely false understanding of Ajax technology, because I am quite novice to it. With regards, Zahhar Kirillov P.S. I use the following code: <!-- CLIENT SIDE --> <script> var runs = 10; //total count of iterations var i = 0; //current iteration counter var totaltime = 0; //total time of all completed iterations var starttime = 0; // time the current iteration started var endtime = 0; //time the current iteration ended function starttest() { //main function var time = new Date(); starttime = time.getTime(); //get starting time...
2007 Sep 19
1
Speex Questions <./Configure %install make [-enable-fixed-point] setting> and Encoding Times etc...
...(&bits); speex_encode_int(enc_state, input_frame, &bits); nbBytes = speex_bits_write(&bits, byte_ptr, MAX_NB_BYTES); .. speex_bits_destroy(&bits); speex_encoder_destroy(enc_state); .. dwEnd = GetTickCount(); dwTime = dwEnd - dwStart; fprintf (stderr, "Speex Decoding TotalTime is : %d sec ", (dwTime/1000)); -------------------------------------- | Speex Decoding TotalTime is : 900~ 1050 sec | Why Encoding Time is long? About 16~17 minutes Please Ask me Question ^^ Have a nice day -------------- next part -------------- An HTML attachment was...
2016 Oct 18
2
Say duration of alaw file?
I can get the size of a ulaw file using STAT. And I can get the duration in seconds by doing filesize/8000. Your tea-break challenge is to help me find the shortest most Asterisk-like way of saying: "The following file is [<n> minutes and] <s> seconds long". ...without referring to external applications! Yes, I'm aware of the math behind it, but I was hoping for a
2003 Sep 05
4
app_queue input needed...
...nf and can be setup per queue. My next project is to add the ability to announce the callers estimated wait time. I want some feedback to see whats the best method to calculate that? What do you want just minutes? or minutes and seconds? Or the option to use one or the other? I'm thinking (totaltime / totalcalls) - (now - qe->start) = current estimated wait time. Which would update after each call is hungup. http://bugs.digium.com/bug_view_page.php?bug_id=0000214 Please let me know what you would like to see!?!?! Thanks, bkw
2005 Feb 24
1
Adding up intervals by activity
...2 ... I would like to know how much time was spent on an activity before the activity changed (to compute time, I just care about the lengths of the intervals, not the values of the timestamps). For example, given the table above, I would like to get an output that looks like: Activity TotalTime A 16 B 8 A 6 Is this possible to do in R without resorting to a for loop or recursion (i.e. what's the R-ish way to do this?) I know I can use the "diff" function to identify which rows represent a change in activity, but is there anything I can...
2010 Oct 26
5
Display Time benchmark on page
Like we saw in console or rails log show totaltime, database time, rendering time. on my page footer in production. is it possible to acces those information from controller or view template with out time it again ? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby...
2008 Jun 26
4
Pfilestat vs. prstat
[Just starting out with DTrace and was hoping to get some guidance.] I have a "benchmark" program that I monitored with both prstat (prstat -mL -P <PID>) and pfilestat (from the DTrace toolkit). Prstat reports LAT values in the 0.1-0.2% range, but pfilestat reports "waitcpu" values in the 6-10%. Since those two numbers supposedly represent time waiting for the CPU,
2011 Sep 29
3
Can't play under Arch and Wine
...starting debugger... The file [./client.xml] could not be opened 09/29/11 16:44:46 [ERRO] PLAT_UTIL Couldn't open DATABASE [./client.xml] 09/29/11 16:44:46 [STAT] RESMGR ResourceManager releasing data. 09/29/11 16:44:46 [STAT] WAD_FILE WAD_FILE LoadWadHeader(), Time:0.14, TotalTime:0.14, File:../Data/GameData/Root.wad 09/29/11 16:44:46 [STAT] RESMGR Loading CSR data. 09/29/11 16:44:46 [DBGM] CORE_SEER LocaleManager::Initialize 09/29/11 16:44:46 [STAT] WAD_FILE WAD_FILE LoadWadHeader(), Time:0.01, TotalTime:0.15, File:../Data/GameData/Locale_fr-Root.wad 0...
2003 Aug 05
0
The American Resolve Prayer and Tribute Poster (PR#3662)
...yle> <![endif]--> <title>The American Resolve</title> <!--[if gte mso 9]><xml> <o:DocumentProperties> <o:Author>Luis Benitez</o:Author> <o:LastAuthor>Ashton Rampersad</o:LastAuthor> <o:Revision>19</o:Revision> <o:TotalTime>63</o:TotalTime> <o:LastPrinted>2003-07-28T21:46:00Z</o:LastPrinted> <o:Created>2003-07-28T21:58:00Z</o:Created> <o:LastSaved>2003-07-30T04:52:00Z</o:LastSaved> <o:Pages>1</o:Pages> <o:Words>346</o:Words> <o:Charact...
2007 Jul 10
0
Plot dies with memory not mapped (segfault) (PR#9785)
...(BOXPLOTS==TRUE && PLOTTING==TRUE) { par(bg="cornsilk",new=T) print("Boxplot...") boxplot(split(userTime[,2],as.Date(dates(userTime[,1]))),style="tukey",main=paste("Plot of userTime as a percentage of totalTime\nSystem",systemNum[iter],sep=""),xlim=as.Date(dates(range(userTime[,1]))),ylim=c(0,1),lwd=.5,plot=TRUE) points(failures[,2],type="p",col=4,cex=10,pch=4,ylim=c(0,1)) dev.off() par(oldpar) # No Boxplots } else if...
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...Queues = { instances: $H(), get: function(queueName) { if (!Object.isString(queueName)) return queueName; - + return this.instances.get(queueName) || this.instances.set(queueName, new Effect.ScopedQueue()); } @@ -249,18 +244,30 @@ Effect.Base = Class.create({ this.totalTime = this.finishOn-this.startOn; this.totalFrames = this.options.fps*this.options.duration; - eval('this.render = function(pos){ '+ - 'if (this.state=="idle"){this.state="running";'+ - codeForEvent(this.options,'beforeSetup')+ -...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server