Max execution time per pixel causing rendering differences between GPUs

Is there a maximum execution time different graphics cards
will process each pixel as part of the shader? When running the
Raytracing script (
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1634 018
) on my Macbook Pro (256MB ATI Radeon X1600) then many pixels come
out grey or black as the loop per pixel that is tracing the ray
takes longer than some built in execution limit.
I first noticed this with a filter I've been working on which
looks fine on my alu iMac (512MB Nvidia GeForce 8800 GS) but
rubbish on the Macbook Pro or older iMacs.
Are there ways around this limit like splitting long for or
while loops into smaller chunks, or is it just a hardwired max
execution time per pixel?

I don't think you can time out on processing an individual
pixel, but I could be wrong. You could try reducing the number of
reflections in the filter and seeing if that fixes the problem. It
could be a math precision difference between the cards.
Shaders can (and will) time out, but individual pixels
shouldn't. It could also be a driver issue with the structure of
the filter. I have a x1600 mac book pro here and I'll try it out if
I get a chance.

Similar Messages

  • Font rendering differences between Xfce and KDE

    Hi,
    I am using both KDE and Xfce (mostly Xfce with KDE apps) and I observed that there is a font rendering difference between Gtk (Xfce) and QT (KDE) apps.
    In both desktop environments I use dejavu sans font, size 9 and I have set RGB subpixel rendering and hinting to full.
    I created some screenshots of dolphin and thunar to illustrate the differences (right click and select view image to see the screenshots in full resolution)
    Can somebody help me to make gtk app fonts to look the same as qt ones? Or at least tell me why there is this difference.
    Thank you.

    I cant tell you why there is a difference, but this page may help you. https://wiki.archlinux.org/index.php/Font_Configuration
    I ended up installing the Ubuntu patched packages in the AUR, but there are different options.

  • Any rendering differences between Safari 1.3 and 2.0?

    Can anyone point me to information about what differences, if any, exist between Safari 1.3 and 2.0? I am only interested in differences in rendering (HTML/CSS/JavaScript, i.e. WebKit), not in things like RSS feed support.
    To put it another way, do Safari 1.3.1 and 2.0.1 have the same version of WebKit?
    I do not have Panther installed on any of my Macs, so I cannot easily investigate this.
    Any assistance is appreciated.

    So what you are saying is that the 170 MHZ difference between the 1.83 and the 2.0 is noticeable, but the 160 MHZ difference between the 2.0 and the 2.16 is not?
    I thought we were passed the marketing gimmicks and the clock speed race, but I guess not.
    Clock speed doesn't tell you anything about the performance of a CPU. Intel almost ran themselves into the ground by trying to pump up their clock speeds and feeding that tripe to the masses. AMD focused on a solid architecture that created a robust chip. As a result AMD took the lead in performance and stability.
    Intel's greatest achievement to date has been the PIII Coppermine. So good was this architecture that they have gone back to it. The Centrinos are based off the Coppermines as are the dual cores.
    The point of the story is that clock speed means nothing. Save your cash and put it to better use by getting a 7200 rpm drive or more RAM.

  • BW statistics: Query Execution Time per User

    I am struggling to get something meaningful out of the BW statistics. The only information I really need is:
    The time from the first call of a query until the first selection screen and
    The time from the execution request until the data is displayed (i.e. after filling selection screen)
    With the possibility to see this information by user.
    So with other words:  KF Duration of query call + KF Duration of query execution, with Characteristics: user, period, query
    This could sound like a very simple universal query, but indeed absolutely not straightforward when looking at statistics contents. Any hints on the KF calculations are most welcome.
    The BW version in 7.0, with Bex as well as WAD reporting.

    I was looking for the same KFs, but did not find anything meaningful in ST03N as well.
    But I would recommend to execute the Web Report (from WAD or from Portal, if you are using Enterprise Portal) and then look at table view RSDDSTAT_OLAP. In this table view, BW Statistic data for each step is saved on event level. So if you execute the Web Report, you will find entries for the step corresponding to displaying the selection screen and for the step of generating the Web Report after the selection screen. The column RUNTIME displays the runtime of each step, which is a good indicator for the average runtime KFs you want to have.
    Maybe there are more meaningful KFs in technical BI Content, but I did not find them yet.

  • Exchange 2013 logging event 15004 daily 5-10 times per day causing email delay?

    Observing following event in the Servers (3 Servers having multi role with Exchange 2013 CU5)
    Log Name:      Application
    Source:        MSExchangeTransport
    Date:          15/10/2014 3:20:16 PM
    Event ID:      15004
    Task Category: ResourceManager
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      SERVER.COM
    Description:
    The resource pressure increased from Medium to High.
    The following resources are under pressure:
    Version buckets = 203 [High] [Normal=80 Medium=120 High=200]
    Physical memory load = 92% [limit is 94% to start dehydrating messages.]
    The following components are disabled due to back pressure:
    Inbound mail submission from Hub Transport servers
    Inbound mail submission from the Internet
    Mail submission from Pickup directory
    Mail submission from Replay directory
    Mail submission from Mailbox server
    Mail delivery to remote domains
    Content aggregation
    Mail resubmission from the Message Resubmission component.
    Mail resubmission from the Shadow Redundancy Component
    The following resources are in normal state:
    Queue database and disk space ("C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\Queue\mail.que") = 61% [Normal] [Normal=95% Medium=97% High=99%]
    Queue database logging disk space ("C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\Queue\") = 75% [Normal] [Normal=95% Medium=97% High=99%]
    Private bytes = 2% [Normal] [Normal=71% Medium=73% High=75%]
    Submission Queue = 0 [Normal] [Normal=2000 Medium=4000 High=10000]
    Temporary Storage disk space ("C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\Temp") = 75% [Normal] [Normal=95% Medium=97% High=99%]
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchangeTransport" />
        <EventID Qualifiers="32772">15004</EventID>
        <Level>3</Level>
        <Task>15</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-15T09:50:16.000000000Z" />
        <EventRecordID>36645321</EventRecordID>
        <Channel>Application</Channel>
        <Computer>SERVER.COM</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Medium</Data>
        <Data>High</Data>
        <Data>
    The following resources are under pressure:
    Version buckets = 203 [High] [Normal=80 Medium=120 High=200]
    Physical memory load = 92% [limit is 94% to start dehydrating messages.]
    The following components are disabled due to back pressure:
    Inbound mail submission from Hub Transport servers
    Inbound mail submission from the Internet
    Mail submission from Pickup directory
    Mail submission from Replay directory
    Mail submission from Mailbox server
    Mail delivery to remote domains
    Content aggregation
    Mail resubmission from the Message Resubmission component.
    Mail resubmission from the Shadow Redundancy Component
    The following resources are in normal state:
    Queue database and disk space ("C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\Queue\mail.que") = 61% [Normal] [Normal=95% Medium=97% High=99%]
    Queue database logging disk space ("C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\Queue\") = 75% [Normal] [Normal=95% Medium=97% High=99%]
    Private bytes = 2% [Normal] [Normal=71% Medium=73% High=75%]
    Submission Queue = 0 [Normal] [Normal=2000 Medium=4000 High=10000]
    Temporary Storage disk space ("C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\Temp") = 75% [Normal] [Normal=95% Medium=97% High=99%]
    </Data>
      </EventData>
    </Event>
    Manju Gowda

    hi manju.. this is because of your resource utilization being very high. please check below two links to check the logs and take appropriate actions
    http://exchangeserverpro.com/exchange-transport-server-back-pressure/
    http://technet.microsoft.com/en-us/library/bb201658%28v=exchg.150%29.aspx
    Mark as useful or answered if my replies helped you solving your query.
    Thanks, Happiness Always
    Jatin
    Skype: jatider2jatin, Email: [email protected]

  • DVR - 2 shows recording at same time have a 1 minute difference between start times

    When recording 2 shows at the same time, with exactly the same start and end times, one will start ~30 seconds early, and the other will start ~30 seconds late. Why would this happen?
    I keep missing the beginning of some shows, and the end of others.
    Background
    Cisco 435HDC
    None of my recordings have a modified start or end time, everything is set to "on time"
    This happens whether a show is being recorded prior to the 2 or not
    I have already done all of the basic troubleshooting, which is to say, I've confirmed this problem on numerous occasions, in different situations, at different times, series or non-series, etc.
    Also, is there a way to refresh the time on the DVR? To get it to pull from the time server, whatever that may be? My clock drifts, causing me to miss either more of the beginning of a show, or more of the end.
    Thanks for your help!

    Your physical setup seems fine, the articles you read are correct about turning off DHCP on the Dlink. I would do the following:
    A. You didn't mention it but you need to have the dlink wired from Westell Port 1,2,3, or 4, to DLINK Port 1,2,3,or 4 (not the wan ports on either router) if you haven't already.
    B. Turn off DHCP on the DLINK and set the gateway IP on it to something different than 192.168.1.1 of the Westell ( I think you may have been getting out of range error from trying to set a static wan ip on the dlink ( just a guess based on info available).
    I have a similar setup at home with an Actiontec and a Linksys WRT-54G. I have mine setup this way. Since everything is on the LAN side of the routers you shouldn't run into any more trouble with your work group/ windows network.
    I found the emulator for the 825, it should look something like this when you are done:
    Hope this is helpful.
    Lee_VZ

  • FrameMaker10: Cause of difference between actual display and element setting

    Hello, everyone
    In using FM10 in Windows7, I've experienced the problems below.
    1) A black square(■) is displayed while an ASTARISK element is set in the structure view. ("*1" is displayed on another computer )
    2) Different BODY elements are used but no return is inserted between the sentences.
    Acutually, I already know the solution to the problems: import an element definition to the file.
    If you know the (possible) "cause" of the problem, please let me know.
    [Message moved to FM Structured Forum by moderator]

    I'm starting to grasp, where your problem might come from.
    You're saying, that when you create a new document and use those elements you mentioned, you are getting those weird results?
    And, after you import the element definitions, everything is as it should be again?
    Then all you need to do, is to get your system administrator or whoever is responsible for your FM setup to update the standard templates you are using to include the latest element definition file (EDD), as it seems you are using an outdated or incorrect version of it.
    The issue, that you are receiving a square bullet instead of "*1" means, that the ASTERISK element is mapped to some other text brick (the square bullet) than in the current version of your EDD (which is embedded in your template file).
    The BODY element seems to be mapped to a character style instead of a paragraph style in this outdated version - meaning you will have no line breaks, as it is treated as an inline element.
    So, in short terms: get in contact with the guy that did set up your structure definitions/ templates. He should be able to fix your problems in no time.
    If the guy isn't in the company anymore or if those structures were created by some 3rd party company, you are going to need to do some more research on how to change templates and their respective element definitions.
    It is most important for your work, that at least one person in your company has the knowledge how to fiddle with those things, or you might be facing more serious issues in the future.
    On a side note: binary FM files are the ones using *.fm as an extension. Those files include everything the document consists of: your document, the template, the element definitions and everything else.
    As a counterpart, XML files only contain your document and the structure markup. Templates, element definitions and almost everything else is applied to those files upon import in Framemaker, or excluded upon export.
    -Alex

  • Font rendering difference between Acrobat 8 and Acobat 9

    We received a PDF file that looks fine in Acrobat 8 and in Preview but when opened in Acrobat 9 the lower half of many fonts is cut off. We see the problem on multiple computers, Mac and PC with both Acrobat Pro 9 and Reader 9. Is there anything that can be done in Acrobat 9 to make the file readable or would it have to be fixed on the creator side? See below for a sample of the problem.

    Can you check your Acrobat Preferences for both versions and see if they are set the same in the area of Page Display > Rendering?
    Is "Use Local Fonts" turned on or off?
    Does the PDF print OK?

  • Note 816352: Rendering Differences between DESIGN 2002 and 2003

    Note 816352 should be released within next day or two.
    With design 2002, in a number of places it was possible to use colors that were reflected directly in the rendering. With design 2003, the raw use of colours are not supported any more. For a number of cases this has been replaced with semantic colors.
    <u><b><htmlb:textView>-textColor</b></u>
    This attribute was NOT supported in earlier service packs, and only from 620SP38 was it possible to specify a semantic colour. The followingvalues are supported:
    DEFAULT
    DIMINISHED
    POSITIVE
    CRITICAL
    NEGATIVE
    MARKED1
    MARKED2
    <u><b><htmlb:gridLayoutCell>-style</b></u>
    Only the following values are supported:
    HEADER
    FILL1
    FILL2
    FILL3
    PLAIN
    TRANSPARENT
    BORDER
    <u><b><htmlb:gridLayoutCell>-backgroundColor</b></u>
    Deprecated and not supported in design 2003.
    <u><b><htmlb:tableView> IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START/P_STYLE</b></u>
    In the iterator call, the design 2002 technique of setting different values into the p_style string is not supported any more. What is available for design 2003 is exactly the technical implementation technique, but with logical styles. At the moment only the style value "celldesign" is supported. It can have any of the following values:
    celldesign:STANDARD
    celldesign:ALTERNATING
    celldesign:TRANSPARENT
    celldesign:NEGATIVE
    celldesign:POSITIVE
    celldesign:TOTAL
    celldesign:SUBTOTAL
    celldesign:SUBTOTAL_LIGHT
    celldesign:BADVALUE_DARK
    celldesign:BADVALUE_MEDIUM
    ce lldesign:BADVALUE_LIGHT
    celldesign:CRITICALVALUE_DARK
    celldesign:CRITICALVALUE_MEDIUM
    celldesign:CRITICALVALUE_LIGHT
    cel ldesign:GOODVALUE_DARK
    celldesign:GOODVALUE_MEDIUM
    celldesign:GOODVALUE_LIGHT
    celldesign:GROUP_HIGHLIGHTED
    celldesign:GR OUP_HIGHLIGHTED_LIGHT
    celldesign:KEY_MEDIUM
    celldesign:GROUP_LEVEL1
    celldesign:GROUP_LEVEL2
    celldesign:GROUP_LEVEL3
    c elldesign:MARKED
    celldesign:FILTER
    celldesign:FILTERICON
    celldesign:POPIN
    <u><b><htmlb:tableView> IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START/P_CLASS</b></u>
    Deprecated and not supported in design 2003.

    Thanks for the feedback. Closing the gap between JavaFX CSS and W3C CSS will be an evolutionary process. It would be nice to use a standard's based stylesheet but there is not always a 1-1 mapping to JavaFX. But for those properties that can be mapped, it is something that should be supported. For example, we should be able to handle "font" or "-fx-font".
    I have made http://javafx-jira.kenai.com/browse/RT-9272 public.

  • Execution of Coded UI scripts with least possible test execution time in Windows7 Operating system using Visual Studio Test Agent 2010 without VS2010 installed

    Hi All,
    We are trying to execute coded UI scripts without Visual Studio installed. We are using “Visual Studio Test Agent 2010” for executing coded UI scripts without VS2010 in Windows 7, it is working fine. Also we verified executing the same script with VS2010
    Premium, it works fine as well.
    Here the challenge we are facing is with the Test execution time.
    When we run the coded UI script with IE11-Windows 7 OS-Visual Studio 2010 Premium it takes
    3min 36sec to complete the execution whereas with IE11-Windows 7 OS-Visual Studio Test Agent 2010  it takes
    6min 40sec for the same script to execute (which is almost double the time it takes while executing using VS2010).
    My question is what may be the reason for this difference? and how we can reduce the test execution time when running from Test Agent 2010?
    Kindly let us know what is the best practice to execute the coded UI scripts with least test execution time in Windows 7 Operating system using Visual Studio Test Agent 2010 without VS2010
    installed.
    Looking forward for your positive response.
    Thanks in advance..!!

    Tina-Shi, Thanks for the information.
    As you mentioned, we tried to execute the coded UI test using Mstest.exe in command on VS2010 Premium and checked on the execution
    time, there was a slight difference.
    Please find below execution time.
    Using Mstest.exe in command on VS2010 Premium/Win7 – 3.47 minutes
    Using VS2010 Premium/Win7 – 3.53 minutes
    Using Test Agent/Win7 – 7.3 minutes
    Also, I closed all the other processes in Task manager before starting up the execution.
    Still , I am facing the same Issue. Could you please suggest any other way to reduce the scripting time of coded UI script execution
    through Test agent 2010.
    Looking forward for your earliest response.

  • Oracle Execution Time for function inside view

    Hi Guys,
    i would like to ask if i call a function inside a view , how does it behave in term of execution time and performance
    For Example i have a view as below
    create or replace view CUST.CUST_VIEW
    select a.nice , a.getCustomDisplay(a.name,a.pin,a.dos,b.master_key) as custom from CUST.customer as a , CUST.master as b
    where a.idno = b.main_id_no
    AND the function look like this
    create or replace function getCustomDisplay(a varchar2,b varchar2,c varchar2,d varchar2)
    begin
    select * from CUST.MAPPING_MATRIX order by idno asc;
    for loop
    //logic goes here to determine the result return from matrix
    end
    My Question is for example
    1. If i do select * from CUST.CUST_VIEW ( return 1000 records for example ) , so the function getCustomDisplay will be executed 1000 times also right ( that means select * from CUST.MAPPING_MATRIX order by idno asc; will also be executed 1000 times ) ?
    2. If i do select * from CUST.CUST_VIEW where rownum <= 20 , how many times getCustomDisplay() function will be executed ?
    The reason i ask this because recently we saw a few million execution times per day from AWR report for this query
    "select * from CUST.MAPPING_MATRIX order by idno asc;"
    But when i investigate , and put a logger whenever it call getCustomDisplay , the query above as mention in item no 2 only will be executed as many as the record that will be returned from ( view + where condition ).
    3. will it affect performance if my view return a lot of records ? or is there any way to improve it?
    Thanks

    Hi
    i have other solutions that seems work for reducing number of execution times but do you think its scalable and feasible ?
    CREATE OR REPLACE package body ACER.TYPE_CAT_PASS_UTIL_TEST as
    */* Private package data */*
    TYPE g_rec IS RECORD (
    id_no               VARCHAR2 (4),
    type_pass            VARCHAR2 (3),
    scheme_ind           VARCHAR2 (5),
    cat_pass             VARCHAR2 (2),
    entrepass            VARCHAR2 (2),
    display_type_pass        VARCHAR2 (15),
    display_cat_pass         VARCHAR2 (5),
    display_type_pass_desc    VARCHAR2 (80),
    rule_id                  VARCHAR2 (5)
    TYPE g_tab_type IS TABLE OF g_rec INDEX BY BINARY_INTEGER;
    g_tab   g_tab_type;
    i       BINARY_INTEGER;
    procedure initializeTypePassMatrix(test  IN varchar2) as
    begin
    if(g_tab.COUNT < 1)then
    FOR appln_rec in (
    SELECT tb_type_cat_pass_matrix.id_no,
    tb_type_cat_pass_matrix.type_pass,
    tb_type_cat_pass_matrix.scheme_ind,
    tb_type_cat_pass_matrix.cat_pass,
    tb_type_cat_pass_matrix.entrepass,
    tb_type_cat_pass_matrix.display_type_pass,
    tb_type_cat_pass_matrix.display_cat_pass,
    tb_type_cat_pass_matrix.display_type_pass_desc,
    tb_type_cat_pass_matrix.rule_id
    FROM tb_type_cat_pass_matrix ORDER BY id_no asc)
    LOOP
    dbms_output.put_line('g_tab.COUNT before insert: ' || g_tab.COUNT);
    i := g_tab.COUNT + 1;
    g_tab (i).id_no         := appln_rec.id_no;
    g_tab (i).type_pass         := appln_rec.type_pass;
    g_tab (i).scheme_ind        := appln_rec.scheme_ind;
    g_tab (i).cat_pass          := appln_rec.cat_pass;
    g_tab (i).entrepass        := appln_rec.entrepass;
    g_tab (i).display_type_pass     := appln_rec.display_type_pass;
    g_tab (i).display_cat_pass     := appln_rec.display_cat_pass;
    g_tab (i).display_type_pass_desc:= appln_rec.display_type_pass_desc;
    g_tab (i).rule_id         := appln_rec.rule_id;
    DBMS_OUTPUT.put_line ('g_tab.count after insert: ' || g_tab.COUNT);
    END LOOP;
    else
    DBMS_OUTPUT.put_line ('g_tab>=1, no need to initialize');
    end if;
    exception
    when others then
    dbms_output.put_line('error happen'||DBMS_UTILITY.format_error_backtrace);
    Logger.ERROR('TYPE_CAT_PASS_UTIL.initializeTypePassMatrix',SQLCODE,SQLERRM || ' ' ||DBMS_UTILITY.format_error_backtrace,'SYSTEM');
    end initializeTypePassMatrix;
    procedure populateTypeCatPassFullDesc(typePass  IN varchar2, schemeInd IN varchar2,catPass IN varchar2,entrePass IN varchar2, displayTypePass IN OUT varchar2,displayTypePassDesc IN OUT varchar2, displayCatPass IN OUT varchar2 )is
    v_displayTypePass varchar2(15) :='-';
    v_displayTypePassDesc varchar2(100) :='-';
    v_displayCatPass   varchar2 (2):='-';
    v_type_pass  varchar2(3)  := '';
    v_scheme_ind  varchar2(5) := '';
    v_cat_pass  varchar2(2);
    v_entrepass  varchar2(2);
    v_flag_valid_1 boolean:=false;
    v_flag_valid_2 boolean:=false;
    v_flag_valid_3 boolean:=false;
    v_flag_valid_4 boolean:=false;
    v_appln_rec g_rec;
    begin
    dbms_output.put_line('line 1');
    initializeTypePassMatrix('test');
    FOR nomor in g_tab.FIRST .. g_tab.LAST
    LOOP
    v_appln_rec := g_tab(nomor);
    dbms_output.put_line('line 2.1');
    v_flag_valid_1 :=false;
    v_flag_valid_2 :=false;
    v_flag_valid_3 :=false;
    v_flag_valid_4 :=false;
    v_type_pass     := v_appln_rec.type_pass;
    v_scheme_ind    := v_appln_rec.scheme_ind;
    v_cat_pass     := v_appln_rec.cat_pass;
    v_entrepass    := v_appln_rec.entrepass;
    dbms_output.put_line('line 2.2');
    if(typePass =  v_type_pass or v_type_pass = 'NA') then
    v_flag_valid_1:= true;
    end if;
    if(schemeInd = v_scheme_ind or v_scheme_ind='NA') then
    v_flag_valid_2 := true;
    elsif(schemeInd is null and v_scheme_ind is null) then
    v_flag_valid_2 := true;
    end if;
    if(catPass = v_cat_pass or v_cat_pass='NA') then
    v_flag_valid_3 := true;
    elsif(catPass is null and v_cat_pass is null) then
    v_flag_valid_3 := true;
    end if;
    if(entrePass = v_entrepass or v_entrepass='NA') then
    v_flag_valid_4 := true;
    end if;
    if(v_flag_valid_1 = true and v_flag_valid_2 = true and v_flag_valid_3 = true and v_flag_valid_4 = true) then
    v_displayTypePass     := v_appln_rec.display_type_pass;
    v_displayCatPass     := v_appln_rec.display_cat_pass;
    v_displayTypePassDesc   := v_appln_rec.display_type_pass_desc;
    dbms_output.put_line('rule id got :'||v_appln_rec.rule_id);
    dbms_output.put_line('rule no got :'||v_appln_rec.id_no);
    exit when (0 = 0);
    end if;
    END LOOP;
    displayTypePass := v_displayTypePass;
    displayCatPass  := v_displayCatPass;
    dbms_output.put_line('1type:' || v_displayTypePassDesc);
    displayTypePassDesc :=    v_displayTypePassDesc;
    dbms_output.put_line('2type:' || displayTypePassDesc);
    dbms_output.put_line('type:' || v_displayTypePass);
    dbms_output.put_line('cat :' || v_displayCatPass);
    exception
    when others then
    dbms_output.put_line('error happen'||DBMS_UTILITY.format_error_backtrace);
    Logger.ERROR('TYPE_CAT_PASS_UTIL.populateTypeCatPass',SQLCODE,SQLERRM || ' ' ||DBMS_UTILITY.format_error_backtrace,'SYSTEM');
    end populateTypeCatPassFullDesc;
    function getDisplayTypePass(typePass  IN varchar2, schemeInd IN varchar2,catPass IN varchar2,entrePass IN varchar2) return varchar2 is
    v_displayTypePass varchar2(15) :='-';
    v_displayTypePassDesc varchar2(100) :='-';
    v_displayCatPass varchar2(2) :='-';
    begin
    populateTypeCatPassFullDesc(typePass,schemeInd,catPass,entrePass,v_displayTypePass,v_displayTypePassDesc,v_displayCatPass);
    return  v_displayTypePass;
    exception
    when others then
    dbms_output.put_line('error happen'||DBMS_UTILITY.format_error_backtrace);
    Logger.ERROR('TYPE_CAT_PASS_UTIL.populateTypeCatPass',SQLCODE,SQLERRM || ' ' ||DBMS_UTILITY.format_error_backtrace,'SYSTEM');
    end getDisplayTypePass;
    end TYPE_CAT_PASS_UTIL_TEST;
    By Using like above even i do query on select * from <some_view) it will be only one execution for
    SELECT tb_type_cat_pass_matrix.id_no,*
    **tb_type_cat_pass_matrix.type_pass,**
    **tb_type_cat_pass_matrix.scheme_ind,**
    **tb_type_cat_pass_matrix.cat_pass,**
    **tb_type_cat_pass_matrix.entrepass,**
    **tb_type_cat_pass_matrix.display_type_pass,**
    **tb_type_cat_pass_matrix.display_cat_pass,**
    **tb_type_cat_pass_matrix.display_type_pass_desc,**
    **tb_type_cat_pass_matrix.rule_id**
    **FROM tb_type_cat_pass_matrix ORDER BY id_no asc*
    the key point is the initializeTypePassMatrix function but it seems the variable only works for one session ?
    if i open new session it will be reset again .

  • Oracle View that stores the Query execution time

    Hi Gurus
    i m using Oracle 10G in Unix. I wudiold like to know which Data dictionary view stores the execution of a query. If it is not stored then hw to find the query execution time other than (Set timing on) command. What is the use of elapsed time and what is the difference between execution time and elapsed time? How to calculate the execution time of a query.
    THanks
    Ram

    If you have a specific query you're going to run in SQL*Plus, just do
    a 'set timing on' before you execute the query.
    If you've got application SQL coming in from all over the place, you can
    identify specific SQL in V$SQL/ and look at ELAPSED_TIME/EXECUTIONS
    to get an average elapsed time.
    If you've got an application running SQL, and you need to know the
    specific timing of a specific execution (as opposed to an average),
    you can use DBMS_SUPPORT to set trace in the session that your
    application is running in, and then use TkProf to process the resulting
    trace file.

  • Causes difference between FI & MM in MB5L

    Hi
    can any one explain tghe Causes for  difference between FI & MM in MB5L
    Thanks in advance
    rajan

    Hi
    Maybe the difference is not really there. Meaning that if you run this report using the period setting 'current period', because the report takes a little while to run, if a stock transaction takes place during the running of the report, depending on timing, it might cause the report to be out of balance. Try running the report when nobody is doing material transactions (overnight) or make the setting 'previous period'.
    I have found whenever I run it and there is a difference, then if I run it again when no transactions are being done then it is ALWAYS balanced
    regards,

  • What is the difference between new thread and new execution?

    What is the difference in creating a new thread and a new execution. Basically, what is the difference between thread and execution?

    Try this link...
    http://zone.ni.com/devzone/cda/tut/p/id/4823
    Thanks,
    PH

  • Difference between two dates: a complete solution

    There have been many posts asking how to get the number of days between two dates. There is no method in java like the VB method dateDiff(), and there is only the method date.getTime() which gives you the number of milliseconds since Jan 1 1970, the Epoch. I have not seen a solution that makes use of the fact that there are 86400000 milliseconds per day, only when trying to get the number of days , i.e. multiples of 24 hours between two millisecond points in time.
    So what if date1 was Oct 26th 11.30pm and date2 was Oct 27th 12.30am? If you get the millisecond difference, and divide by 86400000, you do not notice that these two times are on separate days, but only one hour apart.
    My solution takes account of the modulo (%) function. If you use the date.getTime() method, and use % 86400000 on this number of milliseconds, it will tell you how far (milliseconds) this date is into this day, after 12am. If you subtract this amount from the total number of milliseconds, then divide by 86400000, this will give you the number of days after the Epoch, so you are able to know which day the millisecond time is in. If you want to know the days between two millisecond times, this will tell you, whereas just dividing by 86400000, will not, and may be misleading.
    I think this could be incorporated into the Date class easily. There are some problems though, as not every day has 86400000 milliseconds, if you are talking about days when Daylight Saying Time begins or ends. Doing calculations like that will create errors, unless you know whether each date is in Daylight Saving Time or not. Leap years are OK, unless want to work out the number of years from the number of days by dividing by 365, as calculating numbers of days is only done by looking at a 24 hour time period. However where 'leap seconds' have been added, like once every ten years, there may be small errors. This was not included in anyone elses calculations.
    So the calculation would go like this:
    public class BetterDate extends Date
    public int dayDifference(Date d)
    long time = this.getTime() ; // gets milliseconds
    long timed = d.getTime() ; // gets milliseconds of other date
    int days = (time - (time % 86400000))/86400000 ; // number of days
    int daysd = (timed - (timed % 86400000))/86400000 ; // number of days of other date
    int difference = daysd - days ; // difference in days between two dates
    return difference ;
    If you want you can use the value (time % 86400000), and modulo this amount with the number of milliseconds in one hour, then subtract the result from the (time % 86400000) and divide by the millliseconds in one hour to give you the number of hours, but there are JDK functions that you can use to get the hour if needed.
    This method is not perfect, but for most cases will get you the difference in days between two dates.
    James

    Hi James,
    I tried out your solution, but it seems to fail on dates without times. I tries the difference between 31/03/2002 and 01/04/2002 and the result is 0. I guess it is because the times are assumed to be 00:00 as no times are mentioned and 31st March I believe is the date when DST change will take place this year. If I set the two times as well to a time much later than midnight for example 0600 then I seem to get the right answer.
    Joag
    There have been many posts asking how to get the
    number of days between two dates. There is no method
    in java like the VB method dateDiff(), and there is
    only the method date.getTime() which gives you the
    number of milliseconds since Jan 1 1970, the Epoch. I
    have not seen a solution that makes use of the fact
    that there are 86400000 milliseconds per day, only
    when trying to get the number of days , i.e. multiples
    of 24 hours between two millisecond points in time.
    So what if date1 was Oct 26th 11.30pm and date2 was
    Oct 27th 12.30am? If you get the millisecond
    difference, and divide by 86400000, you do not notice
    that these two times are on separate days, but only
    one hour apart.
    My solution takes account of the modulo (%) function.
    If you use the date.getTime() method, and use %
    86400000 on this number of milliseconds, it will tell
    you how far (milliseconds) this date is into this day,
    after 12am. If you subtract this amount from the total
    number of milliseconds, then divide by 86400000, this
    will give you the number of days after the Epoch, so
    you are able to know which day the millisecond time is
    in. If you want to know the days between two
    millisecond times, this will tell you, whereas just
    dividing by 86400000, will not, and may be
    misleading.
    I think this could be incorporated into the Date class
    easily. There are some problems though, as not every
    day has 86400000 milliseconds, if you are talking
    about days when Daylight Saying Time begins or ends.
    Doing calculations like that will create errors,
    unless you know whether each date is in Daylight
    Saving Time or not. Leap years are OK, unless want to
    work out the number of years from the number of days
    by dividing by 365, as calculating numbers of days is
    only done by looking at a 24 hour time period. However
    where 'leap seconds' have been added, like once every
    ten years, there may be small errors. This was not
    included in anyone elses calculations.
    So the calculation would go like this:
    public class BetterDate extends Date
    public int dayDifference(Date d)
    long time = this.getTime() ; // gets milliseconds
    long timed = d.getTime() ; // gets milliseconds of
    other date
    int days = (time - (time % 86400000))/86400000 ; //
    number of days
    int daysd = (timed - (timed % 86400000))/86400000 ; //
    number of days of other date
    int difference = daysd - days ; // difference in days
    between two dates
    return difference ;
    If you want you can use the value (time % 86400000),
    and modulo this amount with the number of milliseconds
    in one hour, then subtract the result from the (time %
    86400000) and divide by the millliseconds in one hour
    to give you the number of hours, but there are JDK
    functions that you can use to get the hour if needed.
    This method is not perfect, but for most cases will
    get you the difference in days between two dates.
    James

Maybe you are looking for

  • A, B,C Categories in mat

    Hi, how to do a, b, c category for materials based on inventory value and lead time? Pls help.

  • Purchase order Automatic creation

    Dear All, I want to configure the Transportation scenario, My requirement is when shipment is created a purchase order should get automaticaly for purchase of services from transporter... Can anyone hap me out with this??/ Regards Rasik Waghela

  • Select permission on View

    Hi I am using SQL Server 2008 R2, I have created a view in Database A, but the base table is in Database B. I need to give permission(select only) to the user for the View only not to the base table. which is not working. I was reading about DB cross

  • I can not install a new HD to my m400-s5032

    Ok, Finally, I ran out space on my old 100GB HD.  I bough a WD 500GB HD and installed.  I can see it on my Bios but the windows 7 bootable disk can not.  What I'm doing wrong?  Do I need a driver to get this going?  HELP PLEASE !!!!

  • Highlight text and drag over Safari icon to start a search

    A few years back, it was possible in Safari to highlight text and drag and drop it over the Safari icon to instantly start a Google or Yahoo search.  That no longer seems to work.  Now, I'm running Snow Leopard with the newest version of Safari.  Bac