If I were in your situation, I would ask the other professor for a reason and explain that I wanted to make an announcement to my students at the next lecture. If the response is "because I want you out" then I would politely explain that I would announce to the students that we could only remain for 10 minutes after class after which time we would all need to be out of the room. 

No need to make it confrontational.  I find that if you offer to help people solve a problem that helps reduce tension.  If this professor doesn't actually have a problem then offering to help solve a problem will be a non-confrontational way of pointing that out.  

This worked for me last semester.  We only had 15 minutes between classes and my course was taught in a computer lab. Quite often students had questions about projects they were working on and already had their code pulled up on their screen.  Unfortunately the students from the following course would be filing in and because their course required them to have access to code on a particular machine (shared drives wouldn't work) they needed particular seats which my students were still occupying. 

In my case, the professor after me simply explained why he needed the room and at the next lecture I explained to my students why they needed to exit within 5 minutes of the end of class. Everyone understood, no tension, no confrontation. 

Another instructor is pushing me out of the classroom right after my class ends
I'm wondering if that's possible to set a customized action counter that is not listed as one of the counters? e.g. a batch script that measure a time for running my application, and then notify the real-time graph the time it took to load it. Also I'd like to set its frequency.

If possible, please let me know how to apply.

Thank you
