CREATE PROCEDURE [dbo].[PSP_TimingEntryList_Select]
	@PageId int,
	@DateFrom DATETIMEOFFSET =null,
	@DateTo DATETIMEOFFSET = null
AS
	SELECT CreateTime [TimeStamp],
	[TimingLogId],
	round(OnLoad,0) OnLoad,
	round(TimeToInteractive,0) TimeToInteractive,
	round(TTFB,0) TTFB,
	round(TTLB,0) TTLB,
	round(Network,0) Network, 
	round(Request,0) Request,
	round(Response,0) Response,
	JSErrorCount
	from f_TimingLogFilter(null,@PageId,@DateFrom,@DateTo) 
RETURN
