Questions tagged [consumption]

96 questions
7
votes
1 answer

boost::serialization high memory consumption during serialization

just as the topic suggests I've come across a slight issue with boost::serialization when serializing a huge amount of data to a file. The problem consists of the memory footprint of the serialization part of the application taking around 3 to 3.5…
Max021
  • 113
  • 6
7
votes
1 answer

Memory consumption in Cherrypy

I am using Cherrypy in a RESTful web service and server returns XML as a result (lxml is being used to create XML). Some of those XMLs are quite large. I have noticed that memory is not being released after such request (that return large XML) has…
kevin
  • 2,172
  • 3
  • 18
  • 19
7
votes
0 answers

How can I retrieve my own iOS app battery consumption programmatically?

Is there a public API that I can use to retrieve my own app battery consumption directly in the code like iOS is giving in settings app ? Example of what Apple can provide through settings…
craigzour
  • 123
  • 1
  • 9
6
votes
1 answer

iOS - Programatically get battery usages of an application

I want to get battery usages of an application programmatically. iOS 8 provide battery usages monitor utility and I want to know how did Apple implemented this feature. Is there any public API for this ? I want battery consumption value for my iOS…
Santosh Kumar
  • 71
  • 1
  • 6
5
votes
2 answers

python process takes 100% CPU

I am trying to run python application and execute actions based on specified interval. Below code is consuming constantly 100% of CPU. def action_print(): print "hello there" interval = 5 next_run = 0 while True: while next_run >…
m1k3y3
  • 2,762
  • 8
  • 39
  • 68
4
votes
2 answers

Is it possible to measure software energy consumption with RAPL?

I've read about RAPL(Running Average Power Limit) in various different sites, but I'm still looking for an answer. I read that RAPL can measure the CPU energy consumption, or the entire system power consumption. However, my question is: If I have a…
Yaksa
  • 176
  • 1
  • 12
4
votes
1 answer

how to find out Battery consumption of each application in android device

Could any one tell me the way, how to find out the battery usage of each application in android device.
Chandra
  • 309
  • 1
  • 5
  • 17
4
votes
1 answer

Plotting hourly curves in R

I am a beginner with R and I would like to ask you for help. TASK: I would like to make a graph representing a hourly demand of water during the day. The graph consists of several curves of different days (for instance, see the link here). I devided…
haraslub
  • 151
  • 1
  • 10
4
votes
1 answer

How can I force an L2 cache miss?

I want to study the effects of L2 cache misses on CPU power consumption. To measure this, I have to create a benchmarks that gradually increase the working set size such that core activity (micro-operations executed per cycle) and L2 activity (L2…
Kroka
  • 445
  • 4
  • 17
3
votes
1 answer

how to measure the power consumption of an FPGA board that runs OpenCL kernel?

I'm trying to measure the power consumption of my (Altera DE10-Nano) board after programming it with a compiled OpenCL kernel, to estimate the efficiency of my algorithm. There is already some power estimator software from altera to estimate the…
Majd Addin
  • 61
  • 5
3
votes
2 answers

Error when adding parameters to ADODB command in a .NET assembly

I have a .NET assembly that is being consumed by a classic ASP page. I've created a method that returns a ADODB recordset. In my ADODB command object I'm supplying parameters using the following format to a adCmdStoredProc CommandType…
ihillVT
  • 121
  • 2
  • 9
3
votes
1 answer

Get gas consumption from cumulative data

This is my first post here! I am dealing with this query for a while now and I really need your help. I have 2 tables Counters ============= ID Description ------------------- 1 GasCounter1 2 GasCounter2 Measurements ================ ID …
Beer
  • 33
  • 2
3
votes
3 answers

how to calculate power consumption on an Android mobile that uses wifi?

I have implemented a routing protocol on an Android 1.6 mobile that uses wireless (ad-hoc) network in order to exchange messages. Now I would like to evaluate it under an energy consumption point of view, the base would be to try to calculate the…
Marco
  • 31
  • 1
  • 2
3
votes
1 answer

Compute the power consumption(mW) of an Android/iPhone app

I want to calculate and show in a plot the power consumption of my app over the time. The x axis is the time (hours) and the y axis the power consumption in mW. I have the discharge values for my application (100, 93, 82, 78, 71, 64, 59, 49, 41)…
nabrugir
  • 1,839
  • 2
  • 22
  • 38
3
votes
1 answer

Using tfl data api - tutorial?

I have developed apps for 3 years and am now looking to build an app that uses TFL (transport for london) api calls. I was reading their guidelines and read the following: "Distribution Developers consuming TfL data and providing public services…
Charlie S
  • 4,366
  • 6
  • 59
  • 97
1
2 3 4 5 6 7