I was wondering if someone has a good software on Linux (Ubuntu) to calculate delay?

I would like to calculate the delay between to computers connected with a PIX firewall and a router without ACL and in another network only with a router with ACL.

So if someone has some advice for the software to use it will be awesome.