Skip to main content

$PROFILE_ADDITION

  • July 9, 2019
  • 6 replies
  • 0 views

Ingo Stiller
Forum|alt.badge.img+3

Hi Freaks

Whn doing a proc tracing, I can add an extra string via $PROC_TRACING_ADDITION.
Is there any thing like this for profiling, e.g. $PROFILE_ADDITION ?

Ingo

6 replies

  • Rocketeer
  • July 9, 2019

Hi Freaks

Whn doing a proc tracing, I can add an extra string via $PROC_TRACING_ADDITION.
Is there any thing like this for profiling, e.g. $PROFILE_ADDITION ?

Ingo

Hi Freak,

No, there's not. Sorry.

There's only $PROC_PROFILING_SEPARATOR to specify the separator (Gold, Tab, Comma, or Semicolon) that is used to separate the items in the profiling information.

Daniel


Ingo Stiller
Forum|alt.badge.img+3
  • Author
  • Participating Frequently
  • July 9, 2019

Hi Freaks

Whn doing a proc tracing, I can add an extra string via $PROC_TRACING_ADDITION.
Is there any thing like this for profiling, e.g. $PROFILE_ADDITION ?

Ingo

ThanX Daniel

Ingo

BTW:Where is the wishlist 🙂


  • Rocketeer
  • July 9, 2019

ThanX Daniel

Ingo

BTW:Where is the wishlist 🙂

Last time I've checked: here😉


Ingo Stiller
Forum|alt.badge.img+3
  • Author
  • Participating Frequently
  • July 9, 2019

Hi Freaks

Whn doing a proc tracing, I can add an extra string via $PROC_TRACING_ADDITION.
Is there any thing like this for profiling, e.g. $PROFILE_ADDITION ?

Ingo

Oops! Something went wrong...

There was a problem submitting your feedback, likely due to the configuration of this form. You might want to contact the site owner to let them know about this issue.


Gianni Sandigliano
Forum|alt.badge.img

Hi Freaks

Whn doing a proc tracing, I can add an extra string via $PROC_TRACING_ADDITION.
Is there any thing like this for profiling, e.g. $PROFILE_ADDITION ?

Ingo

Hi Ingo,

just a small hint...

considering:
- profiling is writing to log file its informations at the end of each trigger/module/routine
- tracing is letting to enable $PROC_TRACING_ADDITION

if you enable both same time the first tracing line after a profiling line will probably give you the additions you need. It depends from what you would like to define as $PROC_PROFILING_ADDITION.

Hope it helps.

I am curious for which use you are requesting such functionality! 🙂

Gianni


Ingo Stiller
Forum|alt.badge.img+3
  • Author
  • Participating Frequently
  • July 10, 2019

Hi Ingo,

just a small hint...

considering:
- profiling is writing to log file its informations at the end of each trigger/module/routine
- tracing is letting to enable $PROC_TRACING_ADDITION

if you enable both same time the first tracing line after a profiling line will probably give you the additions you need. It depends from what you would like to define as $PROC_PROFILING_ADDITION.

Hope it helps.

I am curious for which use you are requesting such functionality! 🙂

Gianni

Hi Gianni

Nice idea but with profiling anabled I got already >100000 lines / 70 Mb log-file 🙂
But what, if I put some "records" into the logfile every time the circle switch.
I did this already on start on stop of profiling, so a few extra "putmess" in the middle would be workaround.

BTW and @daniel 🙂
If I could sepecify $profiling_adddtion, to which record belongs this.
LP_ENTRY1 is calling LP_ENTRY2 is calling LP_ENTRY3
LP_ENTRY1 I set $profiling_adddtion="CIRCLE_1" and then calls
LP_ENTRY2 I set $profiling_adddtion="CIRCLE_2" and then calls
LP_ENTRY3 I set $profiling_adddtion="CIRCLE_1"
As the records written after the ENTRY, which addition is valid at which time?
Leaving LP_ENTRY2 , is this "CRICLE_2" or "CIRCLE_1" ?

Not so easy to answer 🙂

Ingo