Average current in buck converter

Hi everyone,

I want to use PSIM to read the average current, my circuit is two interleaved buck converter,

because I want to do the current sharing so I need to detect the inductor current in each phase.

can I use C block to implement this way?

I have no idea how should I do, can someone give a help?