search for: user_count

Displaying 6 results from an estimated 6 matches for "user_count".

2011 Jan 11
1
scaling to multiple data files
...answer the question "how many unique users logged in on a certain day across a group of machines"? I'm not quite sure how to scale the data frame and analysis to summarize multiple hosts, though. I'm still getting a feel for using R. Here is a snippet of data for one host. the user_count column is generated from the users column using my custom function "usercount()". the samples are taken roughly once per minute and only unique samples are recorded. (i.e. use na.locf() to uncompress the data). Samples may occur twice in the same minute and are rarely aligned on the s...
2018 Dec 18
2
should we do this time-consuming transform in InstCombine?
...: 1: if %res2 is the only user of %sub, %sub can be eliminated; 2: if %res2 is not the only user of %sub, we could change some heavy instruction like div to sub; 3: expose more abs opportunity for later pass. But my concern is finding %res is a little compiling time-consuming. At least we need MIN(user_count(%b), user_count(%a)) times to check if instruction with same opcode and same operands exists. Could you guys give some comment? Is there any better idea for this transform? Thanks. BRS// Chen Zheng Power Compiler Backend Developer -------------- next part -------------- An HTML attachment was sc...
2009 Jun 07
1
Must be a better way to collate sequenced data
...e.times <<- utime.data["TIME"] %/% period; utime.tstart <<- vector("numeric", length=max(utime.data["USER"])); for (i in 1:nrow(utime.data)) { if (as.numeric(utime.data[i, "USER_COUNT"])==1) { day <- utime.times[i, "TIME"]; user <- utime.data[i, "USER"]; utime.tstart[user] &l...
2018 Dec 18
2
should we do this time-consuming transform in InstCombine?
...y user of %sub, %sub can be eliminated; > 2: if %res2 is not the only user of %sub, we could change some heavy instruction like div to sub; > 3: expose more abs opportunity for later pass. > > But my concern is finding %res is a little compiling time-consuming. > At least we need MIN(user_count(%b), user_count(%a)) times to check if instruction with same opcode and same operands exists. In instcombine, no user checking is performed/allowed. This should match that *specific* pattern (other than verifying the correct equal binop types), although i have not tested it: ICmpInst::Predicate...
2020 Aug 19
39
a saner API for allocating DMA addressable pages
Hi all, this series replaced the DMA_ATTR_NON_CONSISTENT flag to dma_alloc_attrs with a separate new dma_alloc_pages API, which is available on all platforms. In addition to cleaning up the convoluted code path, this ensures that other drivers that have asked for better support for non-coherent DMA to pages with incurring bounce buffering over can finally be properly supported. I'm still a
2016 Jun 02
52
[RFC v3 00/45] dma-mapping: Use unsigned long for dma_attrs
Hi, This is third approach (complete this time) for replacing struct dma_attrs with unsigned long. The main patch (2/45) doing the change is split into many subpatches for easier review (3-43). They should be squashed together when applying. *Important:* Patchset is *only* build tested on allyesconfigs: ARM, ARM64, i386, x86_64 and powerpc. Please provide reviewes and tests for other