I only know the Arzelà–Ascoli theorem for continuous functions on a compact topological space. However, in the context of characterizing weak convergence of probability measures on $C([0,\infty))$, I've seen that the following version is used (without proof):
If $N,\delta>0$ and $f\in C([0,\infty))$, let $$V^N(f,\delta):=\sup\left\{|f(t)-f(s)|:|t-s|\le\delta,s,t\le N\right\}.$$ Then $F\subseteq C([0,\infty))$ is relatively compact if and only if $\left\{f(0):f\in F\right\}$ is bounded and for all $N>0$, $$\lim_{\delta\to0+}\sup_{f\in F}V^N(f,\delta)=0\tag1.$$
Does any body know a reference for a version of the Arzelà–Ascoli theorem which captures this case?
Remark: Obviously, $(1)$ is equivalent to the uniform equicontinuity of $F$.
EDIT: There is the following version which can be found in Theorem 4.43 in the book of Folland:
Theorem 4.43: If $X$ is a compact Hausdorff space and $\mathcal F\subseteq C(X)$ is equicontinuous$^1$ and pointwise bounded$^2$, then $\mathcal F$ is totally bounded (with respect to the supremum metric) on $C(X)$ and relatively compact.
I guess the situation in the question can somehow be generalized in the following way: If $X$ is a Hausdorff space, $\mathcal F\subseteq C(X)$ and ${\mathcal F}_K:=\left\{\left.f\right|_K:f\in\mathcal F\right\}$ is equicontinuous and pointwise bounded for all compact $K\subseteq X$, then ...
Maybe someone could elaborate on what exactly we can conclude and which additional assumption on $X$ we need. I know almost nothing about general topology, but I could imagine that we can consider $C(X)$ above as being equipped with the topology induced by the family of metrics $$d_{\infty,\:K}(f,g):=\sup_{x\in K}d(f(x),g(x))\;\;\;\text{for }f,g\in C(X)$$ for compact $K\subseteq X$, which should yield a sequentially complete space.
$^1$ i.e. for all $x\in X$ and $\varepsilon>0$, there is a neighborhood $N$ of $x$ with $f(N)\subseteq B_\varepsilon(f(x))$ for all $x\in X$.
$^2$ i.e. $\left\{f(x):f\in F\right\}$ is bounded for all $f\in\mathcal F$.