Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
148 user(s) are online (111 user(s) are browsing Forums)

Members: 0
Guests: 148

more...

Headlines

 
  Register To Post  

Tequila 1.1
Just can't stay away
Just can't stay away


See User information
I'm creating a new thread for Tequila so it's easier to keep all related information in one place if there will be future updates.

Version 1.1 is the latest version. Download links: Github and Kapsi mirror.

Previous discussion: here.

Change history:

1.1:
- Add custom rendering.
- Add locale support.
- Add Finnish and Italian (by samo79) catalogs.
- Display task switches / second.
- Display Forbid percentage.
- Display "(task)" instead of PID 0 for pure tasks.
- Fix occasional issue with unfreed signals at exit.
- Fix occasional freeze during listbrowser.gadget update.
- Reduce heap memory usage.
- Optimize string handling.
- Use Forbid() instead of Disable() when reading task lists.

With special thanks to joerg: some v1.1 features are based on his "top" tool.

1.0:
- First release.

Go to top
Re: Tequila 1.1
Site Builder
Site Builder


See User information
That's really nice. I haven't tested that yet, but I have seen the screenshot at http://capehill.kapsi.fi/top/tequila.png
and I have some questions.

1. In that screenshot at the top it says "Tasks 109" but the list has only 5. I guess the rest are filtered out. Can you share what is the difference and why the are not in the list?
2. What are the features you plan to add to the app?
3. What is the "Display Forbid percentage"? Can you explain a little bit about what exactly that counts?
4. Is it possible to show the amount of Ram an application reserves while running?

Thank you so much for this awesome new app

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: Tequila 1.1
Just can't stay away
Just can't stay away


See User information
@walkero

Thanks.

1. Tequila is primitive: it checks which task is running (default frequency 5000 Hz). Most tasks are just waiting for some signal so they don't appear on the list. It was mentioned that internally kernel is tracking the CPU per task but this information is not publicly available so I cannot use it.

2. Function profiling doesn't work. Luckily, there has been an updated version of Hieronymus tool and a new tool called Profyler which should help developers who need to profile their programs.

3. Forbid state means that task switching (multitasking) is disabled. High forbid % might mean something is wrong in the system, maybe something is calling Forbid() too much. So, if Tequila finds that task switching is disabled 50 times out of 5000, this equals to "Forbid 1%".

4. I think there are no public APIs to do that, so it would be hard. I don't want to patch system functions (Alloc*).

Go to top
Re: Tequila 1.1
Home away from home
Home away from home


See User information
@Capehill

Awesome little tool.

CUSTOMRENDERING tooltype overwrites the detail columns on the right when there is a long taskname (e.g. Background[CLI] SYS:Prefs/CANDI/CANDItheme/etc.), though, while normal rendering simply cuts the name off once the detail columns start.

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: Tequila 1.1
Just can't stay away
Just can't stay away


See User information
@Raziel

Thanks for testing.

Yeah, it has some issues. I have been planning to add some option to strip the path part away.

Go to top
Re: Tequila 1.1
Just can't stay away
Just can't stay away


See User information
https://www.amigans.net/modules/newbb/ ... id=147790#forumpost147790

Quote:

I just tried a little test in (maybe old) AOS4 for WinUAE. While in Forbid() state It counts 10000 times the number of nodes in sysbase->taskready (it is consistent with what is shown by ranger or scout). Nothing else. Then it sleeps a bit and repeats (until ctrl-c pressed). Most of the time the 10000 results are the same. Every once and then they are not!


Confirmed. Seems I will need to revert back Disable/Enable.

Go to top
Re: Tequila 1.1
Not too shy to talk
Not too shy to talk


See User information
Hi Capehill,

Thanks for a really handy program!

A really nice way to see what's happening on your Amiga.

One little thing I keep seeing when I start Tequilla from the
shell (even from inside the Tequilla dir), the Workbench or
AmiDock... I typically get a console output/window with this
line:

Failed to open catalog (205)

I'm running a fairly basic OS4 (old beta) install with the US
english locale.

Any ideas what might be missing?

Thanks again,

PJS

Go to top
Re: Tequila 1.1
Just can't stay away
Just can't stay away


See User information
@pjs

tries to load/find tequila.catalog, you don't have it (and don't need) thus prits such "error".

if (locale) {
            
//printf("%s\n", locale->loc_LanguageName);
            
catalog ILocale->OpenCatalog(NULL"tequila.catalog",
                                           
TAG_DONE);
            if (!
catalog) {
                const 
LONG err IDOS->IoErr();
                if (
err != 0) {
                    
printf("Failed to open catalog (%ld)\n"err);
                }
            }

Go to top
Re: Tequila 1.1
Just can't stay away
Just can't stay away


See User information
@jabirulo

You probably shouldn't give an error for failing to find a catalog, but instead just silently fall back to your builtin strings.

Best regards,

Niels

Go to top
Re: Tequila 1.1
Just can't stay away
Just can't stay away


See User information
@nbache

tequila is Capehill's tool. it's code is on github.

But I agree it shouldn't print any error (maybe only in debugging mode)

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project