/external/aac/libSYS/src/mips/ |
H A D | genericStds_mips.cpp | 179 #include <mips/cpu.h>
|
/external/arduino/hardware/arduino/cores/arduino/ |
H A D | WInterrupts.c | 111 #warning attachInterrupt may need some more work for this cpu (case 1) 159 #error detachInterrupt not finished for this cpu 171 #warning detachInterrupt may need some more work for this cpu (case 1)
|
/external/bison/build-aux/ |
H A D | config.guess | 628 long cpu = sysconf (_SC_CPU_VERSION); 630 switch (cpu) 688 long cpu = sysconf (_SC_CPU_VERSION); 692 if (CPU_IS_PA_RISC (cpu)) 694 switch (cpu) 702 else if (CPU_IS_HP_MC68K (cpu)) 879 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in 973 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
|
/external/blktrace/ |
H A D | blkiomon.c | 122 fprintf(debug.fp, "cpu %16d\n", bit->cpu); 149 fprintf(debug.fp, "cpu %16d %16d\n", bit1->cpu, bit2->cpu);
|
H A D | blkparse.c | 306 #define CPU_IDX(cpu) ((cpu) / CPUS_PER_LONG) 307 #define CPU_BIT(cpu) ((cpu) & (CPUS_PER_LONG - 1)) 321 static void resize_cpu_info(struct per_dev_info *pdi, int cpu) argument 325 int new_count = cpu + 1; 357 static struct per_cpu_info *get_cpu_info(struct per_dev_info *pdi, int cpu) argument 361 if (cpu >= pdi->ncpus) 362 resize_cpu_info(pdi, cpu); 364 pci = &pdi->cpus[cpu]; 485 int cpu; local 504 cpu_mark_online(struct per_dev_info *pdi, unsigned int cpu) argument 524 cpu_mark_offline(struct per_dev_info *pdi, int cpu) argument 529 cpu_is_online(struct per_dev_info *pdi, int cpu) argument 1959 int ret, cpu; local 2246 unsigned int cpu; member in struct:ms_stream 2393 ms_alloc(struct per_dev_info *pdi, int cpu) argument 2408 setup_file(struct per_dev_info *pdi, int cpu) argument 2507 int i, cpu, ret; local [all...] |
H A D | blkparse_fmt.c | 182 fprintf(ofp, strcat(format, "d"), pci->cpu); 306 MAJOR(t->device), MINOR(t->device), pci->cpu, t->sequence,
|
H A D | blkrawverify.c | 114 fprintf(ofp, " %8s: %u\n", "cpu", bit->cpu); 121 static int process(FILE **fp, char *devname, char *file, unsigned int cpu) argument 208 if (bit->cpu != cpu) { 209 INC_BAD("bad cpu"); 252 fprintf(ofp, " Summary for cpu %d:\n", cpu); 263 fprintf(ofp, "%8s %d cpu\n", "", nbad_cpu); 280 int i, cpu, nba local [all...] |
H A D | blktrace.c | 138 int cpu, len; member in struct:trace_buf 168 int cpu, nios; member in struct:tracer 177 * 0 - Indicates an "open" - allowing the server to set up for a dev/cpu 180 * The cpu field is overloaded on close: it will contain the number of drops. 185 u32 cpu; /* for which cpu */ member in struct:blktrace_net_hdr 188 u32 cl_id; /* id for set of client per-cpu connections */ 484 static inline void pdc_dr_update(struct devpath *dpp, int cpu, int data_read) argument 486 dpp->stats[cpu].data_read += data_read; 489 static inline void pdc_nev_update(struct devpath *dpp, int cpu, in argument 607 lock_on_cpu(int cpu) argument 856 net_send_header(int fd, int cpu, char *buts_name, int len) argument 876 net_send_open_close(int fd, int cpu, char *buts_name, int len) argument 884 net_send_open(int fd, int cpu, char *buts_name) argument 1007 int cpu; local 1027 int cpu, *fdp; local 1117 alloc_trace_buf(int cpu, int bufsize) argument 1133 int cpu; local 1154 int cpu; local 1169 add_trace_buf(struct devpath *dpp, int cpu, struct trace_buf **tbpp) argument 1389 int cpu; local 1432 read_err(int cpu, char *ifn) argument 1465 fill_ofname(struct io_info *iop, int cpu) argument 1528 iop_open(struct io_info *iop, int cpu) argument 1825 start_tracer(int cpu) argument 1849 int cpu; local 1958 int cpu; local 2240 int cpu; local 2300 int cpu; local [all...] |
H A D | blktrace.h | 42 unsigned int cpu; member in struct:per_cpu_info 117 t->cpu = be16_to_cpu(t->cpu);
|
H A D | blktrace_api.h | 104 __u32 cpu; /* on what cpu did it happen */ member in struct:blk_io_trace
|
H A D | verify_blkparse.c | 13 int major, minor, cpu, nr, alias; local 36 if (sscanf(p, "%3d,%3d %2d %8d %lf", &major, &minor, &cpu, &seq, &this_time) != 5) 47 if (cpu >= MAX_CPUS) { 48 fprintf(stderr, "cpu%d too large\n", cpu); 52 if (last_seq[cpu] == seq) { 57 last_seq[cpu] = seq;
|
/external/blktrace/btreplay/ |
H A D | btrecord.c | 50 * @cpu: CPU that this file was collected on 57 int cpu, ifd; member in struct:ifile_info 303 * @cpu: CPU for this file 307 static void __add_input_file(int cpu, char *devnm, char *file_name) argument 311 iip->cpu = cpu; 332 int cpu, found = 0; local 340 for (cpu = 0; ; cpu++) { 343 sprintf(full_name, "%s/%s.blktrace.%d", idir, devnm, cpu); [all...] |
H A D | btreplay.c | 98 * @cpu: CPU this thread is pinned to 113 int cpu, ifd, ofd, iterations; member in struct:thr_info 532 assert(0 <= tip->cpu && tip->cpu < ncpus); 535 CPU_SET(tip->cpu, &cpus); 546 fprintf(tip->vfp, "Pinned to CPU %02d ", tip->cpu); 790 tip->cpu); 852 * @cpu: CPU for this file 856 static void add_input_file(int cpu, char *devnm, char *file_name) argument 863 assert(0 <= cpu 961 int cpu = 0; local [all...] |
/external/blktrace/btt/ |
H A D | mmap.c | 67 tp->cpu = be16_to_cpu(t->cpu);
|
/external/blktrace/doc/ |
H A D | blktrace.tex | 361 \emph{device}.blktrace.\emph{cpu}, where \emph{device} is the base 363 be \emph{sda}); and \emph{cpu} identifies a CPU for the event stream. 475 -i \emph{file} & --input=\emph{file} & Specifies base name for input files -- default is \emph{device}.blktrace.\emph{cpu}. \\
|
/external/chromium-trace/ |
H A D | script.js | 4 window.FLATTENED["base.events"]=!0;window.FLATTENED["base.range"]=!0;window.FLATTENED["tracing.filter"]=!0;window.FLATTENED["tracing.trace_model.counter"]=!0;window.FLATTENED["tracing.trace_model.trace_model_event"]=!0;window.FLATTENED["tracing.trace_model.slice"]=!0;window.FLATTENED["tracing.trace_model.cpu"]=!0;window.FLATTENED["base.sorted_array_utils"]=!0;window.FLATTENED["base.iteration_helpers"]=!0;window.FLATTENED["base.utils"]=!0;window.FLATTENED["tracing.trace_model.object_snapshot"]=!0; 46 e,f,g,h){e=b(h.details);this.cpufreqSlice(g,a,e.cpu,e);return!0},cpufreqTargetEvent:function(a,e,f,g,h){e=b(h.details);this.cpufreqSlice(g,a,e.cpu,e);return!0},cpufreqBoostUnboostEvent:function(a,e,f,b,h){this.cpufreqBoostSlice(b,a,{type:h.details});return!0}};a.registerSubtype(d);return{CpufreqParser:d}});"use strict";base.require("tracing.importer.linux_perf.parser"); 61 "exynos_flip_request"==a?this.exynosFlipOpenSlice(b,c):this.exynosFlipCloseSlice(b,{pipe:c});return!0},exynosBusfreqSample:function(a,c,e){a=this.importer.getOrCreateCpuState(0).cpu.getOrCreateCounter("",a);0===a.numSeries&&a.addSeries(new tracing.trace_model.CounterSeries("frequency",tracing.getStringColorId(a.name+".frequency")));a.series.forEach(function(a){a.addSample(c,e)})},busfreqTargetIntEvent:function(a,c,e,b,g){a=/frequency=(\d+)/.exec(g.details);if(!a)return!1;this.exynosBusfreqSample("INT Frequency", 80 tracing.importer.linux_perf.Parser,a=/irq=(\d+) name=(.+)/,c=/irq=(\d+) ret=(.+)/,e=/vec=(\d+) \[action=(.+)\]/;d.prototype={__proto__:b.prototype,irqHandlerEntryEvent:function(c,e,b,d,l){c=a.exec(l.details);if(!c)return!1;parseInt(c[1]);c=c[2];e=this.importer.getOrCreatePseudoThread("irqs cpu "+e);e.lastEntryTs=d;e.irqName=c;return!0},irqHandlerExitEvent:function(a,e,b,d,l){a=c.exec(l.details);if(!a)return!1;parseInt(a[1]);b=a[2];e=this.importer.getOrCreatePseudoThread("irqs cpu "+e);void 0!==e.lastEntryTs&& 81 (d-=e.lastEntryTs,d=new tracing.trace_model.Slice("",e.irqName,tracing.getStringColorId(a[1]),e.lastEntryTs,{ret:b},d),e.thread.sliceGroup.pushSlice(d));e.lastEntryTs=void 0;e.irqName=void 0;return!0},softirqRaiseEvent:function(a,c,e,b,d){return!0},softirqEntryEvent:function(a,c,b,d,l){if(!e.exec(l.details))return!1;this.importer.getOrCreatePseudoThread("softirq cpu "+c).lastEntryTs=d;return!0},softirqExitEvent:function(a,c,b,d,l){a=e.exec(l.details);if(!a)return!1;b=parseInt(a[1]);l=a[2];c=this.importer.getOrCreatePseudoThread("softirq cpu "+ 122 b,f){c=this.importer.getOrCreateCpuState(c);"1"!=b?this.importer.importError("Don't understand power_start events of type "+b):(b=c.cpu.getOrCreateCounter("","C-State"),0===b.numSeries&&b.addSeries(new tracing.trace_model.CounterSeries("state",tracing.getStringColorId(b.name+".state"))),b.series.forEach(function(c){c.addSample(a,f)}))},cpuIdleSlice:function(a,c,b){c=this.importer.getOrCreateCpuState(c).cpu [all...] |
/external/chromium-trace/trace-viewer/src/tracing/ |
H A D | filter.js | 47 matchCpu: function(cpu) {
|
H A D | trace_model_test.js | 18 var cpu = m.kernel.getOrCreateCpu(1); 19 cpu.slices.push(tracing.test_utils.newSlice(1, 3)); 42 var c1 = cpu.getOrCreateCounter('', 'CpuCounter'); 99 var cpu = m.kernel.getOrCreateCpu(1); 100 cpu.slices.push(tracing.test_utils.newSlice(1, 3)); 108 var cpu = m.kernel.getOrCreateCpu(1); 109 cpu.slices.push(tracing.test_utils.newSlice(1, 3));
|
/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/ |
H A D | cpufreq_parser.js | 41 // TODO(sleffler) split by cpu 55 cpufreqSlice: function(ts, eventName, cpu, args) { 56 // TODO(sleffler) should be per-cpu 79 this.cpufreqSlice(ts, eventName, data.cpu, data); 86 this.cpufreqSlice(ts, eventName, data.cpu, data);
|
H A D | exynos_parser.js | 78 var counter = targetCpu.cpu.getOrCreateCounter('', name);
|
/external/chromium-trace/trace-viewer/src/tracing/importer/ |
H A D | linux_perf_importer.js | 46 function CpuState(cpu) { 47 this.cpu = cpu; 55 * to the cpu representing the time spent on that Cpu since the last call to 80 this.cpu.slices.push(slice); 219 * or the typical task-pid-cpu-timestamp-function sequence of a typical 343 var cpu = this.model_.kernel.getOrCreateCpu(cpuNumber); 344 this.cpuStates_[cpuNumber] = new CpuState(cpu); 417 // Push the cpu slices to the threads that they run on. 420 var cpu [all...] |
/external/chromium-trace/trace-viewer/src/tracing/trace_model/ |
H A D | cpu_test.js | 8 base.require('tracing.trace_model.cpu'); 10 base.unittest.testSuite('tracing.trace_model.cpu', function() { 14 var cpu = new Cpu(undefined, 1); 15 cpu.updateBounds(); 16 assertEquals(undefined, cpu.bounds.min); 17 assertEquals(undefined, cpu.bounds.max); 21 var cpu = new Cpu(undefined, 1); 22 cpu.slices.push(tracing.test_utils.newSlice(1, 3)); 23 cpu.updateBounds(); 24 assertEquals(1, cpu [all...] |
H A D | kernel.js | 10 base.require('tracing.trace_model.cpu'); 71 var cpu = this.cpus[cpuNumber]; 72 cpu.updateBounds(); 73 this.bounds.addRange(cpu.bounds);
|
/external/chromium-trace/trace-viewer/src/tracing/tracks/ |
H A D | cpu_track.js | 20 ui.define('cpu-track', tracing.tracks.ContainerTrack); 26 this.classList.add('cpu-track'); 29 get cpu() { 33 set cpu(cpu) { 34 this.cpu_ = cpu;
|
H A D | cpu_track_test.js | 20 var cpu = new Cpu(7); 21 cpu.slices = [ 25 cpu.updateBounds(); 34 track.heading = 'CPU ' + cpu.cpuNumber; 35 track.cpu = cpu;
|