Is there any syscall with more accurate than the ddi_get_lbolt() in the kernel?

Hi, I used with the ddi_get_lbolt() to evaluate the performance
of my some section code of driver in the kernel, but the return
tick of ddi_get_lbolt() is the 10 milliseconds too long to
evaluate. It seemed no change when I used with the drv_usectohz()
or drv_hztousec() to reduce the time interval. Would you give me
methods to accurately evaluate.
Thanks in advance.

hi,
I tested this code with 10 thousands lines. The performance of this code is very bad. Actually, as per your question, I just think out this code which is the same with SUMIF function in excel. Having another way is using grouping and merge table as below
and this is faster then.
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    Group = Table.Group(Source, {"Date"}, {{"Total", each List.Sum([Time]), type number}}),
    Merge = Table.NestedJoin(Source,"Date",Group,"Date","NewColumn"),
    Expand = Table.ExpandTableColumn(Merge, "NewColumn", {"Total"}, {"Total"})
in
    Expand
Regards,

Similar Messages

  • New cheaper Iphone with more technology than the old Iphone?

    Hello,
    I've owned an Iphone since December, and I'm in love with it! There are a few things I've been waiting to have updated, such as, faster internet service and being able to receive multi-media messages. Now I see that there is a new Iphone being released for only $199 when I paid $499 for my 8G. My question is, does this phone that is so much cheaper compare to the old Iphone? And if it's coming with all of the features as the old Iphone, will the upgrade that is being released give the same exact features as the 3G?
    Thank you!

    The lower cost of the new iPhone is only happening because AT&T (and other carriers around the world) are subsidizing it, and in the process increasing monthly charges to recover the subsidy. In effect over the 2 year contract with AT&T for example, you'll pay marginally more for the new iPhone than you did for the old one!
    Basically, the two models are the same. The new one has 3G capabilities, but 3G coverage in the US is very spotty at present and not increasing particularly fast, so a large proportion of people won't be able to take advantage of it. The new iPhone also has GPS capabilities which the original did not, and has somewhat better battery life. Otherwise, just about all the other improvements are in firmware, and the same firmware will be available to download and upgrade existing iPhones early in July.
    If you don't need GPS and don't live in a major city where 3G coverage exists, you should be happy with your existing iPhone since not only will you be able to get the new firmware next month to add a lot of new features, but you'll also be paying less each month to use it - your data plan at present is $20 including 200 texts, while the new iPhone will be $30 for data with texting costs on top of that as well.

  • Burning my DVD with more gigs than the disc

    I am going to be burning my new movie shortly. It is approximately 13 GB. The DVDs I have show "4.7 GB" on the box, so I am assuming I can't put my entire movie on one disc.
    Do they make discs larger than this so that I can put the whole movie on one?
    1) If no, can I put the movie on several discs?
    2) If yes, is that preferable to #2?
    3) About how long will it take to burn this movie?
    Thank you for your help!

    iDVD cares for length, not size of a project...
    as you found out, a project can contain 50,60,70 gigs of video (=imports), but as long as it is under 120min (the project/timeline, not the imports), it will fit onto a single-layer dvd-r of 4.7 GB ...
    that is the marvel of converting, using different codecs.
    iM uses 'dv' which is a editable codec, e.g. storing every frame (30frames/sec) of a video.. mp2 compresses much more, meant for playback only, e.g. it stores just the 'differences' from one frame to another.. wiki, if you're interested in this topic...
    How can I tell how big just what I have on the timeline is?
    there's no need for this info, when using iLife.. therefor, there's no 'button' to hit to tell you..
    if you're just curious, you could export your project as 'Quicktime/Full Quality' ... it will result in files, 13GB/h ...due to using the same, identical codec as your camcorder... so, using a calculator is probably easier... ;))
    final word about exporting:
    no need doing so.
    as long as your project resides in the 'Movies' folder, which came preinstalled on your Mac, iDVD will find it there and offers it in its window under 'Media' ...

  • 'Find an Item' search on list with more items than view limit

    Hello all
    The 'Find and Item' search on a list with more items than the view limit appears to filter results according to where you are in that list.  So if I search on the allitems page displaying items 1-100 I get hits from the entire list.  But if I arrow
    through to view items 201-300 and repeat the same search only items from 201 to the end of the list are returned
    I'm assuming this is not how it should work i.e. it should always return results from the whole list.  Is there a way to make that so (other than increasing the view limit to something huge so that all items are always displayed)
    Many Thanks
    Dan

    Hi,
    According to your post, my understanding is that Find an item Search box in List didn't returned any results.
    The problem is due to a difference between the Content Source defined for the crawl and the default zone defined in the Alternate Access mapping.
    You need to change the Alternate Access Mapping configuration.
    For more information, you can refer to:
    http://blog.jonathanroussel.com/2009/01/sharepoint-search-using-this-site-or.html
    http://blog.dafran.ca/post/2011/07/02/SharePoint-does-not-return-any-search-results.aspx
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to avoid invoicing more quantity than the PO's in non stock PO?

    Hello SAPients!
    Scenario: We create a non stock PO with a material that has no number and no material group, when we use MIRO TCode to invoice it we can create the invoice with more quantity than the PO, we can even keep adding quantity to the invoice.
    How can we stop that? How can we configure our system in order to create the invoice with the exact (or less) quantity than the stated in the PO?
    Thanks in advance for your kind help.

    Hi,
    Use t.code: OMRM & Maintain the following messages
    1. M8 -081 Quantities invoiced greater than goods receipt quantity as ERROR ( maintain GR-based IV in the PO item level )
    2.M8 -087( item without GR )  - Invoice quantity greater than PO quantity  as ERROR & save.
    Now try doing MIRO.
    NOTE: If the above setting not work ,then Maintain the messages M8 -081 & M8 -087  as ERROR in OBMSG t.code & save.
    Regards,
    Biju K

  • I want to buy a new Macbook pro 15", but I don't like Lion, I want Leopard installed, is there any issues with drivers or any other I should be aware of?

    I want to buy a new Macbook pro 15", but I don't like Lion, I want Leopard installed, is there any issues with drivers or any other I should be aware of?

    Hello, I've tried Lion from the day they released to last week I got my computer formated and with leopard again, on my iMac 24" from early 2009 2.9 Ghz core 2 duo, and I have installed 8 Gb of memory, and i have some complains about it, there are some cosmetic issues but mostly I'm concerned about issues bellow the hood, as I'm a stock trader and I depend completly from my computer's performance, let me explain:
    Superficial issues:
    1. They took off "spaces" and I liked it.
    2. I dont use the magic mouse, I need a more accurate mouse for my charts, and it seems they built the entire OS assuming you would use the magic mouse for gestures, scroll, etc to try to mimic in some way the Ipad and Iphone functions, but what if you arent using it like me?
    3. I never used that little rocket icon that makes all your apps appear and that could be one of the "improvements on Lion", at first sight it looks nice and slick, but if you try to use it and make it part of your daily use, you would find it is useless, it is a pain to try to arrange it the way you like it, so I rather use the spotlight to search for my apps, its faster.
    Now the MOST important, 'performance':
    1. It completly suffocate my computers hardware Leopard much more lighter, beggining from the start up that taked almost 1/3 or twice the time, and I think Lion has some bugs bellow the hood, i was doing my normal stuff, some apps running and everything, and suddenly I started to feel the computer a little slow, safari taking forever to open the pages for example, and I opened the activity monitor to see what was going on, and it was there, I was using 4 or 5 gb from my memory, and CPU making insane peaks, and Im using 2.46 gb as im writing it doing exactly the same stuff, (but Im happily using Leopard now), and it wasnt once, as i told before, I used lion since the day they released it and happened several times until it drove me nutts. But leopard not problem in that regard at all, Never.
    hope this helps, and hope some apple guys read that because lion resulted in a big disappointment for me.

  • Are there any problems with un-compressing a drive?

    Bottman wrote:
    The only issue that I can think of is if the compressed files are then larger than the available space on the drive.
    If you're worried about this, you could uncompress a block of files at a time.
    The drive is currently 67% free.  I don't know what the compression ratio is but it probably wouldn't cause an issue with drive space.

    I have a very important 2TB logical disk (NTFS, Basic, not the system disk) attached to a Server 2008 R2 virtual machine.  Write performance has been very slow with large files and I realized that "Compress this drive to save disk space" is checked for the whole drive.  Are there any issues with disabling this feature?  It's easy enough to enable but I don't know what happens when I disable it.
    This topic first appeared in the Spiceworks Community

  • Is there any charge with my ipad icloud when i use it outside canada just like philippines?

    Is there any charge with my ipad icloud when i use it outside canada just like philippines

    There have been a few reports of problems, but most users on this forum report no problems.
    If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.1. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
    iOS 5: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    How to install iOS 6
    http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
    Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
     Cheers, Tom

  • With Firefox 6, is there any way to allow cookies for the browsing only and then erase cookies when you close the browser?

    With Firefox 6, is there any way to allow cookies for the browsing session and then automatically erase cookies when the browser is closed? On older versions this option was available.

    For more help, see the '''[[Tabbed browsing]]''' page.

  • Issue with opening a site in SharePoint Designer 2010 -The version of SharePoint foundation running on the server is more recent than the version of SPD you are using, you need a more recent version of SPD.

    I have a SharePoint site which I am trying to open in SPD 2010, I am getting the following error(some of my team members are able to open)
    The version of SharePoint foundation running on the server is more recent than the version  of SPD you are using, you need a more recent version of SPD.
    These are the ways I tried
    1) Earlier I have MS office 32 bit and SPD 32 bit, I uninstalled them and installed both 64 bit versions
    2) I uninstalled restarted my machine and installed it again still no use.
    3) I installed SPD 2010 Service Pack 2 of 64 bit
    4) I uninstalled the SPD 2010 and opened the site—site actions—edit page in SPD , then it asked me to install SPD 2010, then I installed and tried to open the same site, again same error.
    How to solve this issue?
    I checked permissions also at that site level – I have full control like others. I don’t have access to Central Admin so where else I can check the permission settings?

    Please update us SharePoint version 
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.

  • I purchased some movies off iTunes from my account from my fathers IPad as a gift but didn't realize can not view if not logged with my account. Is there any way to save directly to the IPad (regardless of account)? Or transfer to him so he can view have?

    I purchased some movies off iTunes from my account (but from my father IPad) to download as a gift,
    but didn't realize he can not view if not logged in with my account.
    Is there any way to save directly to the IPad (regardless of account) so he can view?
    Or transfer to his account?
    Or is any was to cancel the recent purchase if can not transfer as I will not watch these myself?

    sure pretty simple.  make a backup of your current settings
    http://support.apple.com/kb/HT1766?viewlocale=en_US
    then restore device from old backup you need pics off of
    then import pics to computer
    http://support.apple.com/kb/HT4083
    you may need to save pics to camera roll first
    then restore the new backup and sync pics back to phone via itunes
    Peace, Clyde

  • What,s the reason to stop iphone 5?? Is there any problem with that phone?? Because still 4s is in market but iphone 5 is stopped.... What,s wrong with apple??

    Why apple stoped iphone 5? What's the reason?? Is there any problem with that phone... Because iphone 4s is still in market.. But they stopped iphone 5.. What's wrong with iphone 5????

    It was replaced by the iPhone 5C, which is essentially the same phone except for the case, better LTE converage and a larger battery.

  • I have my iPhone 4s backed up on my mac but it seems it was encrypted with a password which i do not remember is there any other option to retrieve to the backup without restoring the device as a new one. Also I do not have access to a windows system.

    I have my iPhone 4s backed up on my mac but it seems it was encrypted with a password which i do not remember is there any other option to retrieve to the backup without restoring the device as a new one. Also I do not have access to a windows system.

    Sorry no, if you don't knnow the encrypted password, then you can't use that backjup.

  • I want to know if the Macbook Pro with the ash key board and as the cd rom infront is more recent than the one with the black key board and as the cd rom on the side.

    I want to know if the Macbook Pro with the ash key board and as the cd rom infront is more recent than the one with the black key board and as the cd rom on the side.

    Hi Tracy,
    I'm guessing "ash" is the silver colored keyboard, the same color as the rest of the MBP? If so, that machine, with the optical drive slot on the front, is the older machine.

  • Report with more columns than will fit on a page

    <p>I&#39;m just beginning to use Crystal Reports (30-day Developer eval). I&#39;m trying to create a report with more fields than will fit across one page. The "extra" fields seem to wrap on the first page. I&#39;d really like to print the report across two pages, like Excel does with its "Fit to 2 pages wide" option.</p><p>Is this possible in Crytal? What do folks do when their report is "wider" than the width of the page? </p><p>&#160;</p>

    This is a relatively easy fix. Basically you need to make a huge default page for your printer, and use that layout when printing.
    1. On Windows, go to Start -> Printers & Faxes
    2. Click on File -> Server Properties
    3. Check 'Create a new form'
    4. Change the form name field to something you can remember... I called mine GIGANTIC CRYSTAL LAYOUT
    5. At the bottom change the units to the size you would like. I use 100" wide x 14" tall.Â
    6. Click Save Form when you are done.
    7. Then click 'Close'
    In crystal start your report (or create a new one) and change your printer settings to use this new form. If it doesn't show up under your default printer, try changing the printer crystal is looking at, and selecting your new form.
    Â Hope that helps.

Maybe you are looking for

  • UDS and Oracle

    Is anyone having trouble utilizing stored procedures in Oracle? Specifically selecting nextval and currval from dual? nextval doesn't actually execute, but kind of looks like it did minus legitimate values, and currval blows up with a bogus Oracle er

  • Ipad won't open Word documents without .doc appended

    My ipad won't open word documents attached to emails that don't have .doc appended, however my iphone does this flawlessly. Is this normal?

  • Change Source of Supply determination during PPDS Planning Heuristic

    Hi APO Gurus, We are running PPDS for our Production Planning. In the PPDS run, when we have more than one source of Supply , system selects the Source of Supply based on Lot Size, Validity , Priority or Quota. In our scenario, we want to change the

  • I can't use my iMac

    I have an early 2009 iMac running on 10.5.8. This weekend, when I booted it up, it asked me to enter an username and a password in order to be able to log in. Thing is, I've had this computer for 3 years and it never asked me that before. Which basic

  • How to replace #missing with zero in HFR

    I am able to see the suppression option. Can any one tell me how to do this. Thanks